[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: getpass.c syntax error on HP-UX 11.00
From: |
Simon Josefsson |
Subject: |
Re: getpass.c syntax error on HP-UX 11.00 |
Date: |
Tue, 06 Sep 2005 10:21:47 +0200 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
Derek Price <address@hidden> 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 <address@hidden>
* getpass.c (getpass): Fix typo, test for HAVE_TCSETATTR and not
TCSETATTR. Reported by Derek Price <address@hidden>.
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