Re: [Nagios-devel] [patch] popen
Posted: Sun Jan 04, 2004 6:02 pm
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 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
> [email protected]
> https://lists.sourceforge.net/lists/lis ... gios-devel
>
Ethan Galstad,
Nagios Developer
---
Email: [email protected]
Website: http://www.nagios.org
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
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 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
> [email protected]
> https://lists.sourceforge.net/lists/lis ... gios-devel
>
Ethan Galstad,
Nagios Developer
---
Email: [email protected]
Website: http://www.nagios.org
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]