]> git.sur5r.net Git - openldap/blobdiff - clients/gopher/go500.c
Use sigaction to set SA_RESTART (if appropriate).
[openldap] / clients / gopher / go500.c
index 51a3dbb9032a7ef2dfa9ae8aa7f25af5579d234d..2b7c4ed6752af712cff475b8d0cdf4caf5c51fd2 100644 (file)
@@ -345,7 +345,7 @@ wait4child( int sig )
                ;       /* NULL */
 #endif
 
-       (void) SIGNAL( SIGCHLD, wait4child );
+       (void) SIGNAL_REINSTALL ( SIGCHLD, wait4child );
 }
 
 static void