- (stevesk) entropy.c: typo; should be SIGPIPE

This commit is contained in:
Kevin Steves 2001-02-18 11:34:32 +00:00
parent 60396b060b
commit 4679f5b94f
2 changed files with 4 additions and 3 deletions

View File

@ -28,6 +28,7 @@
a <sys/queue.h> that lacks the TAILQ_* macros. Patch from Todd C. a <sys/queue.h> that lacks the TAILQ_* macros. Patch from Todd C.
Miller <Todd.Miller@courtesan.com> Miller <Todd.Miller@courtesan.com>
- (djm) Update RPM spec files for 2.5.0p1 - (djm) Update RPM spec files for 2.5.0p1
- (stevesk) entropy.c: typo; should be SIGPIPE
20010217 20010217
- (bal) OpenBSD Sync: - (bal) OpenBSD Sync:
@ -4035,4 +4036,4 @@
- Wrote replacements for strlcpy and mkdtemp - Wrote replacements for strlcpy and mkdtemp
- Released 1.0pre1 - Released 1.0pre1
$Id: ChangeLog,v 1.798 2001/02/18 04:43:07 djm Exp $ $Id: ChangeLog,v 1.799 2001/02/18 11:34:32 stevesk Exp $

View File

@ -39,7 +39,7 @@
#include "pathnames.h" #include "pathnames.h"
#include "log.h" #include "log.h"
RCSID("$Id: entropy.c,v 1.28 2001/02/18 04:28:12 djm Exp $"); RCSID("$Id: entropy.c,v 1.29 2001/02/18 11:34:32 stevesk Exp $");
#ifndef offsetof #ifndef offsetof
# define offsetof(type, member) ((size_t) &((type *)0)->member) # define offsetof(type, member) ((size_t) &((type *)0)->member)
@ -130,7 +130,7 @@ reopen:
rval = 1; rval = 1;
done: done:
mysignal(SIG_PIPE, old_sigpipe); mysignal(SIGPIPE, old_sigpipe);
if (fd != -1) if (fd != -1)
close(fd); close(fd);
return(rval); return(rval);