diff options
author | 2001-01-19 17:53:12 +0000 | |
---|---|---|
committer | 2001-01-19 17:53:12 +0000 | |
commit | b374e38b84fdbb1e80d3c51e7191ba8670267c2c (patch) | |
tree | d457b6863bae3356fd063a05ccefd29fe7fc1a5c /usr.sbin/tcpdump/tcpdump.c | |
parent | clear and free digest, make consistent with other code (use dlen); from stevesk@ (diff) | |
download | wireguard-openbsd-b374e38b84fdbb1e80d3c51e7191ba8670267c2c.tar.xz wireguard-openbsd-b374e38b84fdbb1e80d3c51e7191ba8670267c2c.zip |
mark remaining signal races which are difficult to fix
Diffstat (limited to 'usr.sbin/tcpdump/tcpdump.c')
-rw-r--r-- | usr.sbin/tcpdump/tcpdump.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/tcpdump/tcpdump.c b/usr.sbin/tcpdump/tcpdump.c index 68ef08e98b1..de38c59521e 100644 --- a/usr.sbin/tcpdump/tcpdump.c +++ b/usr.sbin/tcpdump/tcpdump.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tcpdump.c,v 1.20 2000/12/10 19:05:21 provos Exp $ */ +/* $OpenBSD: tcpdump.c,v 1.21 2001/01/19 17:53:19 deraadt Exp $ */ /* * Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997 @@ -26,7 +26,7 @@ static const char copyright[] = "@(#) Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997\n\ The Regents of the University of California. All rights reserved.\n"; static const char rcsid[] = - "@(#) $Header: /home/cvs/src/usr.sbin/tcpdump/tcpdump.c,v 1.20 2000/12/10 19:05:21 provos Exp $ (LBL)"; + "@(#) $Header: /home/cvs/src/usr.sbin/tcpdump/tcpdump.c,v 1.21 2001/01/19 17:53:19 deraadt Exp $ (LBL)"; #endif /* @@ -387,6 +387,7 @@ cleanup(int signo) /* Can't print the summary if reading from a savefile */ if (pd != NULL && pcap_file(pd) == NULL) { + /* XXX unsafe */ (void)fflush(stdout); putc('\n', stderr); if (pcap_stats(pd, &stat) < 0) |