bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Windows Build Issue: function getpass prototype needed


From: Mark D. Baushke
Subject: Re: Windows Build Issue: function getpass prototype needed
Date: Wed, 12 May 2004 06:57:01 -0700

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Derek Robert Price <derek@ximbiot.com> writes:

> Mark D. Baushke wrote:
> 
> >If we care, the <unistd.h> file contents are mandated by
> >"POSIX Standard: 2.10 Symbolic constants" and other functions
> >may also be added to it...
> 
> 
> I'm a little leery of adding more protos than we need.  The reason we
> have to do this in the first place is that Windows is not very POSIX
> compliant.  Some might clash and it gives us more to maintain when we
> don't need to.
> 
> I say just stick with the getpass() proto for now and add any more as
> we need them.

I thought putting the POSIX list of functions inside a #if 0 ... #endif
was sufficient to help be a hint for future functions that might arise.

The compilation will not see any of them that are not moved outside of
that preprocessor block.

I have no problems with leaving them out as well if that is what you
think should be done.

        -- Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFAoi0t3x41pRYZE/gRAuoAAKDIvHqWz9vuaOgwdwA+qQGFfIqdTQCghQx0
y9+IRXsrISuy89GuY1p5UGE=
=d1M7
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]