This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: getpass.c


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 */




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]