summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>1995-12-27 23:23:00 +0000
committerjoerg <joerg@FreeBSD.org>1995-12-27 23:23:00 +0000
commit25337fa305e27d6e854af20ac2dda605fd8915e2 (patch)
treef0c7f4594940fc4b7fb6fbeeacb9481aa23aac51 /lib/libc
parentf7fa37d296745f4060a23700205683aeabf327b1 (diff)
downloadFreeBSD-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.c2
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;
OpenPOWER on IntegriCloud