[patch] 2.0-cvs fix compile errors

Ethan Galstad nagios at nagios.org
Wed Aug 11 05:06:20 CEST 2004


Thanks -

I'll get these applied and include a .cvsignore file with the 
suggested entries.


On 8 Aug 2004 at 8:19, Ian Holsman wrote:

> also..
> have you guys considered using a .cvsignore file?
> 
> adding this to the cgi directory will make diffs/updates a bit more
> managable.
> 
> .cvsignore:
> *.cgi
> Makefile
> 
> 
> Index: cgiutils.c
> ===================================================================
> RCS file: /cvsroot/nagios/nagios/cgi/cgiutils.c,v retrieving revision
> 1.35 diff -u -r1.35 cgiutils.c --- cgiutils.c  10 Feb 2004 04:18:27
> -0000      1.35 +++ cgiutils.c  7 Aug 2004 21:10:47 -0000 @@ -72,14
> +72,14 @@
>   extern int      enable_failure_prediction;
>   extern int      process_performance_data;
> 
> -time_t          last_command_check=0L;
> +extern time_t          last_command_check;
> 
>   int             check_external_commands=0;
> 
>   int             date_format=DATE_FORMAT_US;
> 
>   int             log_rotation_method=LOG_ROTATION_NONE;
> -time_t          last_log_rotation=0L;
> +extern time_t          last_log_rotation;
> 
>   time_t          this_scheduled_log_rotation=0L;
>   time_t          last_scheduled_log_rotation=0L;
> Index: statuswrl.c
> ===================================================================
> RCS file: /cvsroot/nagios/nagios/cgi/statuswrl.c,v retrieving revision
> 1.16 diff -u -r1.16 statuswrl.c --- statuswrl.c 15 Aug 2003 01:34:09
> -0000      1.16 +++ statuswrl.c 7 Aug 2004 21:10:47 -0000 @@ -88,7
> +88,7 @@
>   void calculate_circular_coords(void);
>   void calculate_circular_layer_coords(host *,double,double,int,int);
> 
> -char url_logo_images_path[MAX_FILENAME_LENGTH];
> +extern char *url_logo_images_path;
> 
>   authdata current_authdata;
> 
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by OSTG. Have you noticed the changes
> on Linux.com, ITManagersJournal and NewsForge in the past few weeks?
> Now, one more big change to announce. We are now OSTG- Open Source
> Technology Group. Come see the changes on the new OSTG site.
> www.ostg.com _______________________________________________
> 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



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285




More information about the Developers mailing list