From: Simon Josefsson Date: Tue, 6 Sep 2005 08:21:32 +0000 (+0000) Subject: * getpass.c (getpass): Fix typo, test for HAVE_TCSETATTR and not X-Git-Tag: cvs-readonly~2971 X-Git-Url: http://erislabs.net/gitweb/?a=commitdiff_plain;h=569c14694b09263fe3238b3a68b6a48535e1599f;p=gnulib.git * getpass.c (getpass): Fix typo, test for HAVE_TCSETATTR and not TCSETATTR. Reported by Derek Price . --- diff --git a/lib/ChangeLog b/lib/ChangeLog index ce23aaeaf..f5048ee7a 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,8 @@ +2005-09-06 Simon Josefsson + + * getpass.c (getpass): Fix typo, test for HAVE_TCSETATTR and not + TCSETATTR. Reported by Derek Price . + 2005-09-05 Paul Eggert Change bitset word type from unsigned int to unsigned long int, diff --git a/lib/getpass.c b/lib/getpass.c index 83f236986..b965bcfc0 100644 --- a/lib/getpass.c +++ b/lib/getpass.c @@ -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