diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2017-04-28 12:12:06 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2017-04-28 12:12:06 +0000 |
commit | b15c4329b10e422d85673e1708ce20bb0116598e (patch) | |
tree | ed61c1856ddc3e473f0b5d608bfad93299f461a6 /src/libstddjb/selfpipe_finish.c | |
parent | 94caf2cee5c03e037c465648eac8cb1dd32c7c73 (diff) | |
download | skalibs-b15c4329b10e422d85673e1708ce20bb0116598e.tar.xz |
Change SKALIBS_NSIG to SKALIBS_DEFAULT_NSIG and NSIG to SKALIBS_NSIG to accommodate OpenBSD snowflakiness
Diffstat (limited to 'src/libstddjb/selfpipe_finish.c')
-rw-r--r-- | src/libstddjb/selfpipe_finish.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstddjb/selfpipe_finish.c b/src/libstddjb/selfpipe_finish.c index fd9f6c2..60899eb 100644 --- a/src/libstddjb/selfpipe_finish.c +++ b/src/libstddjb/selfpipe_finish.c @@ -31,7 +31,7 @@ void selfpipe_finish (void) void selfpipe_finish (void) { - sig_restoreto(&selfpipe_caught, NSIG-1) ; + sig_restoreto(&selfpipe_caught, SKALIBS_NSIG-1) ; sigemptyset(&selfpipe_caught) ; fd_close(selfpipe[1]) ; fd_close(selfpipe[0]) ; |