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