diff options
author | Ulrich Drepper <drepper@redhat.com> | 1997-03-05 21:09:54 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1997-03-05 21:09:54 +0000 |
commit | 571286fe5044f5a425856814d9a774d25139f037 (patch) | |
tree | d11bc9bc3e50664437368109ba52aeeff574811b | |
parent | 28b5b97f169ebfc49902d230c60ff3fb15674c4e (diff) | |
download | glibc-571286fe5044f5a425856814d9a774d25139f037.tar glibc-571286fe5044f5a425856814d9a774d25139f037.tar.gz glibc-571286fe5044f5a425856814d9a774d25139f037.tar.bz2 glibc-571286fe5044f5a425856814d9a774d25139f037.zip |
Don't disable canonical input.
-rw-r--r-- | misc/getpass.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/misc/getpass.c b/misc/getpass.c index 74af9b5dc7..2caeb18668 100644 --- a/misc/getpass.c +++ b/misc/getpass.c @@ -59,9 +59,7 @@ getpass (prompt) /* Save the old one. */ s = t; /* Tricky, tricky. */ - t.c_lflag &= ~(ECHO|ISIG|ICANON); - t.c_cc[VTIME] = 0; - t.c_cc[VMIN] = 1; + t.c_lflag &= ~(ECHO|ISIG); tty_changed = (tcsetattr (fileno (in), TCSAFLUSH|TCSASOFT, &t) == 0); } else |