[patch] popen

Ethan Galstad nagios at nagios.org
Mon Jan 5 02:57:26 CET 2004


Thanks - I'll get this patched tonight.

On 7 Dec 2003 at 15:17, Ian Holsman wrote:

> this was complianing on 1.1-CVS on OS/X
> I think it was due to popen.h being included twice somewhere
> 
> --
> Index: cgi/popen.c
> ===================================================================
> RCS file: /cvsroot/nagios/nagios/cgi/Attic/popen.c,v retrieving
> revision 1.1.1.1 diff -u -r1.1.1.1 popen.c --- cgi/popen.c	26 Feb 2002
> 04:03:33 -0000	1.1.1.1 +++ cgi/popen.c	6 Dec 2003 11:24:40 -0000 @@
> -29,6 +29,8 @@
> 
>   #include "popen.h"
> 
> +pid_t *childpid;
> +int *childerr;
> 
>   /* 4.3BSD Reno <signal.h> doesn't define SIG_ERR */
>   #if defined(SIG_IGN) && !defined(SIG_ERR)
> Index: cgi/popen.h
> ===================================================================
> RCS file: /cvsroot/nagios/nagios/cgi/Attic/popen.h,v retrieving
> revision 1.1.1.1 diff -u -r1.1.1.1 popen.h --- cgi/popen.h	26 Feb 2002
> 04:03:33 -0000	1.1.1.1 +++ cgi/popen.h	6 Dec 2003 11:24:40 -0000 @@
> -1,7 +1,4 @@
>   /* include file for popen.c */
> 
> -pid_t *childpid;
> -int *childerr;
> -
>   FILE *spopen(const char *);
>   int spclose(FILE *);
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive?  Does it
> help you create better code?  SHARE THE LOVE, and help us help
> YOU!  Click Here: http://sourceforge.net/donate/
> _______________________________________________
> Nagios-devel mailing list
> Nagios-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-devel
> 



Ethan Galstad,
Nagios Developer
---
Email: nagios at nagios.org
Website: http://www.nagios.org



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click




More information about the Developers mailing list