Code

Fix Debian bug #478942: Fragile argument passing
[nagiosplug.git] / plugins / popen.h
index 1f4e413a7e8c65c8f0da388139cef80781ae5b9d..fc7e78e2d81075af5647d58b23e049f5b6c5b42a 100644 (file)
@@ -1,15 +1,14 @@
 /******************************************************************************
- *
- * $Id$
- *
- ******************************************************************************/
+*
+*
+*****************************************************************************/
 
 FILE *spopen (const char *);
 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;