diff options
author | joerg <joerg@FreeBSD.org> | 1995-12-27 23:23:00 +0000 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 1995-12-27 23:23:00 +0000 |
commit | 25337fa305e27d6e854af20ac2dda605fd8915e2 (patch) | |
tree | f0c7f4594940fc4b7fb6fbeeacb9481aa23aac51 /lib/libc | |
parent | f7fa37d296745f4060a23700205683aeabf327b1 (diff) | |
download | FreeBSD-src-25337fa305e27d6e854af20ac2dda605fd8915e2.zip FreeBSD-src-25337fa305e27d6e854af20ac2dda605fd8915e2.tar.gz |
Don't block SIGINT in getpass(3); this doesn't make sense.
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/gen/getpass.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/gen/getpass.c b/lib/libc/gen/getpass.c index d1b3835..cf6088a 100644 --- a/lib/libc/gen/getpass.c +++ b/lib/libc/gen/getpass.c @@ -67,7 +67,7 @@ getpass(prompt) * note - blocking signals isn't necessarily the * right thing, but we leave it for now. */ - omask = sigblock(sigmask(SIGINT)|sigmask(SIGTSTP)); + omask = sigblock(sigmask(SIGTSTP)); (void)tcgetattr(fileno(fp), &term); if (echo = (term.c_lflag & ECHO)) { term.c_lflag &= ~ECHO; |