Code

better error checking in spopen signal handler (see 1107524)
[nagiosplug.git] / plugins / popen.h
index 1f4e413a7e8c65c8f0da388139cef80781ae5b9d..c2a79df09c422fc188a203af8f98ca060925e626 100644 (file)
@@ -9,7 +9,7 @@ int spclose (FILE *);
 RETSIGTYPE popen_timeout_alarm_handler (int);
 
 extern unsigned int timeout_interval;
-pid_t *childpid;
-int *child_stderr_array;
-FILE *child_process;
-FILE *child_stderr;
+pid_t *childpid=NULL;
+int *child_stderr_array=NULL;
+FILE *child_process=NULL;
+FILE *child_stderr=NULL;