getpass.c

Joel Sherrill joel.sherrill@oarcorp.com
Tue Nov 18 23:12:00 GMT 2008


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


-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill@OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985




More information about the Newlib mailing list