head	1.2;
access;
symbols
	RELEASE_4_3_0:1.1
	RELEASE_4_2_0:1.1
	RELEASE_4_1_1:1.1
	RELEASE_4_1_0:1.1
	RELEASE_3_5_0:1.1;
locks; strict;
comment	@# @;


1.2
date	2001.05.07.16.43.39;	author dinoex;	state dead;
branches;
next	1.1;

1.1
date	2000.05.29.22.32.54;	author will;	state Exp;
branches;
next	;


desc
@@


1.2
log
@- remove outdated port

PR:		21875
@
text
@--- webalizer.c.orig	Sun Jul 11 19:36:10 1999
+++ webalizer.c	Mon May 29 21:42:53 2000
@@@@ -1981,8 +1981,8 @@@@
 
    /* fill in filenames */
    sprintf(html_fname,"usage_%04d%02d.%s",cur_year,cur_month,html_ext);
-   sprintf(gif1_fname,"daily_usage_%04d%02d.gif",cur_year,cur_month);
-   sprintf(gif2_fname,"hourly_usage_%04d%02d.gif",cur_year,cur_month);
+   sprintf(gif1_fname,"daily_usage_%04d%02d.png",cur_year,cur_month);
+   sprintf(gif2_fname,"hourly_usage_%04d%02d.png",cur_year,cur_month);
 
    /* create GIF images for web page */
    sprintf(dtitle,"%s %s %d",msg_hmth_du,l_month[cur_month-1],cur_year);
@@@@ -3125,7 +3125,7 @@@@
          pie_legend[i]=top_ctrys[i]->desc;
       }
       sprintf(pie_title,"%s %s %d",msg_ctry_use,l_month[cur_month-1],cur_year);
-      sprintf(pie_fname,"ctry_usage_%04d%02d.gif",cur_year,cur_month);
+      sprintf(pie_fname,"ctry_usage_%04d%02d.png",cur_year,cur_month);
 
       pie_chart(pie_fname,pie_title,t_hit,pie_data,pie_legend);  /* do it   */
 
@@@@ -3213,7 +3213,7 @@@@
 
    i=(s_mth==12)?1:s_mth+1;
 
-   year_graph6x(   "usage.gif",         /* filename          */
+   year_graph6x(   "usage.png",         /* filename          */
                    buffer,              /* graph title       */
                    i,                   /* last month        */
                    hist_hit,            /* data set 1        */
@@@@ -3234,7 +3234,7 @@@@
    }
    write_html_head(msg_main_per);
    /* year graph */
-   fprintf(out_fp,"<IMG SRC=\"usage.gif\" ALT=\"%s\" "    \
+   fprintf(out_fp,"<IMG SRC=\"usage.png\" ALT=\"%s\" "    \
                   "HEIGHT=256 WIDTH=512><P>\n",buffer);
    /* month table */
    fprintf(out_fp,"<TABLE WIDTH=600 BORDER=2 CELLSPACING=1 CELLPADDING=1>\n");
@


1.1
log
@Fix how webalizer creates PNG images with .gif extension.

PR:		18890
Submitted by:	maintainer
@
text
@@

