Commit bfeaec66 authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

ITS#9354 - Fix usage of signal to be portable

parent 9187cca4
......@@ -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)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment