From 569c14694b09263fe3238b3a68b6a48535e1599f Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Tue, 6 Sep 2005 08:21:32 +0000 Subject: [PATCH] * getpass.c (getpass): Fix typo, test for HAVE_TCSETATTR and not TCSETATTR. Reported by Derek Price . --- lib/ChangeLog | 5 +++++ lib/getpass.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 -- 2.11.0