projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* getpass.c (getpass): Fix typo, test for HAVE_TCSETATTR and not
[gnulib.git]
/
lib
/
getpass.c
diff --git
a/lib/getpass.c
b/lib/getpass.c
index
83f2369
..
b965bcf
100644
(file)
--- 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