getpass.c

Jeff Johnston jjohnstn@redhat.com
Wed Nov 19 04:43:00 GMT 2008


Thanks for catching this.  Fixed.

-- Jeff J.

Joel Sherrill wrote:
> Hi,
>
> Unless I missed something getpass.c cannot be disabled.
> Since it uses termios, this is particularly bad.  Your ChangeLog
> entry looks like you think it can be disabled.  Did
> I miss something?
>
>
> Index: getpass.c
> ===================================================================
> RCS file: /cvs/src/src/newlib/libc/unix/getpass.c,v
> retrieving revision 1.5
> diff -u -r1.5 getpass.c
> --- getpass.c    18 Nov 2008 21:47:44 -0000    1.5
> +++ getpass.c    18 Nov 2008 21:56:36 -0000
> @@ -1,3 +1,4 @@
> +#ifndef _NO_GETPASS
> /*
>  * Copyright (c) 1988 The Regents of the University of California.
>  * All rights reserved.
> @@ -97,3 +98,4 @@
>     (void) fclose (fp);
>   return buf;
> }
> +#endif /* !_NO_GETPASS  */
>
>



More information about the Newlib mailing list