This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
getpass.c
- From: Joel Sherrill <joel dot sherrill at oarcorp dot com>
- To: "newlib at sources dot redhat dot com" <newlib at sources dot redhat dot com>
- Date: Tue, 18 Nov 2008 15:58:17 -0600
- Subject: getpass.c
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