Derek Price <[EMAIL PROTECTED]> writes:
> Is the following line in lib/getpass.c correct?
>
> #if TCSETATTR
No. Thanks for the report, I have installed:
2005-09-06 Simon Josefsson <[EMAIL PROTECTED]>
* getpass.c (getpass): Fix typo, test for HAVE_TCSETATTR and not
TCSETATTR. Reported by Derek Price <[EMAIL PROTECTED]>.
Index: lib/getpass.c
===================================================================
RCS file: /cvsroot/gnulib/gnulib/lib/getpass.c,v
retrieving revision 1.13
diff -u -p -r1.13 getpass.c
--- lib/getpass.c 26 Aug 2005 12:33:59 -0000 1.13
+++ lib/getpass.c 6 Sep 2005 08:21:05 -0000
@@ -158,7 +158,7 @@ getpass (const char *prompt)
}
/* Restore the original setting. */
-#if TCSETATTR
+#if HAVE_TCSETATTR
if (tty_changed)
tcsetattr (fileno (in), TCSAFLUSH | TCSASOFT, &s);
#endif
_______________________________________________
bug-gnulib mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnulib