[gnutls-dev] Re: building opencdk-0.5.4 on Solaris 8

Dimitri Papadopoulos-Orfanos papadopo at shfj.cea.fr
Mon Mar 15 15:35:17 CET 2004


Hi again,

> About the getpass() issue, <unistd.h> is already included but a macro 
> needs to be defined:
> [...]
> Adding:
>     #define __EXTENSIONS__
> works but I have no clue why it would needed on Solaris.

Mmmh... It would seem getpass() is considered a legacy or deprecated 
function:
http://www.opengroup.org/onlinepubs/007908799/xsh/getpass.html
http://www.mkssoftware.com/docs/man3/getpass.3.asp
and is actually missing from Single Unix Specification version 3:
http://www.opengroup.org/onlinepubs/007904975/basedefs/unistd.h.html

See also:
http://sources.redhat.com/ml/libc-alpha/2003-05/msg00240.html
http://www.gnu.org/software/libc/manual/html_node/getpass.html#getpass

It's probably better not to use getpass().

Regards,
--
Dimitri Papadopoulos



More information about the Gnutls-dev mailing list