diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2001-11-16 17:10:07 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2001-11-16 17:10:07 +0000 |
commit | ea3df69903ba07d2a69c47af08cc3c0da9764b8d (patch) | |
tree | f60a6dd4b5516d879ae7e4040979a92c78201124 /usr.bin/mail/extern.h | |
parent | cb8b27e414038a9ede4e7df3653fdb54a0f836b3 (diff) |
Instead of using a longjmp to catch SIGPIPE, just set to SIG_IGN and
check the return value on writes for error.
Save and restore terminal modes when piping to a command so we end
up with a known good state if the command terminates uncleanly.
Diffstat (limited to 'usr.bin/mail/extern.h')
-rw-r--r-- | usr.bin/mail/extern.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/mail/extern.h b/usr.bin/mail/extern.h index d3698d96308..fd7ad6453c1 100644 --- a/usr.bin/mail/extern.h +++ b/usr.bin/mail/extern.h @@ -1,4 +1,4 @@ -/* $OpenBSD: extern.h,v 1.16 2001/01/16 05:36:08 millert Exp $ */ +/* $OpenBSD: extern.h,v 1.17 2001/11/16 17:10:06 millert Exp $ */ /* $NetBSD: extern.h,v 1.7 1997/07/09 05:22:00 mikel Exp $ */ /*- @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * @(#)extern.h 8.2 (Berkeley) 4/20/95 - * $OpenBSD: extern.h,v 1.16 2001/01/16 05:36:08 millert Exp $ + * $OpenBSD: extern.h,v 1.17 2001/11/16 17:10:06 millert Exp $ */ struct name; @@ -96,7 +96,6 @@ int argcount __P((char **)); void assign __P((char [], char [])); int bangexp __P((char *, size_t)); int blankline __P((char [])); -void brokpipe __P((int)); int charcount __P((char *, int)); int check __P((int, int)); void clearnew __P((void)); |