Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nadezhda Ivanova
OpenLDAP
Commits
bfeaec66
Commit
bfeaec66
authored
Nov 02, 2020
by
Quanah Gibson-Mount
Browse files
ITS#9354 - Fix usage of signal to be portable
parent
9187cca4
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/progs/slapd-watcher.c
View file @
bfeaec66
...
...
@@ -21,6 +21,7 @@
#include
<stdio.h>
#include
"ac/signal.h"
#include
"ac/stdlib.h"
#include
"ac/time.h"
...
...
@@ -597,7 +598,9 @@ main( int argc, char **argv )
}
tester_config_finish
(
config
);
signal
(
SIGPIPE
,
SIG_IGN
);
#ifdef SIGPIPE
(
void
)
SIGNAL
(
SIGPIPE
,
SIG_IGN
);
#endif
/* don't clear the screen if debug is enabled */
if
(
debug
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment