The following reply was made to PR other/1309; it has been noted by GNATS.

From: Marc Slemko <[EMAIL PROTECTED]>
To: Apache bugs database <[EMAIL PROTECTED]>
Cc:  Subject: Re: other/1309: Wrong compiled-in date in localized environment 
(fwd)
Date: Thu, 23 Oct 1997 07:26:51 -0600 (MDT)

 ---------- Forwarded message ----------
 Date: Thu, 23 Oct 1997 14:25:11 +0400 (MSD)
 From: "[KOI8-R] =E1=CE=C4=D2=C5=CA =FE=C5=D2=CE=CF=D7" <[EMAIL PROTECTED]>
 To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED], [EMAIL PROTECTED]
 Subject: Re: other/1309: Wrong compiled-in date in localized environment
 
 On 23 Oct 1997 [EMAIL PROTECTED] wrote:
 
 > Please supply a patch to fix this if you want.  And search the
 > bug database for all the other locale issues, there are many.
 
 Patch included below.
 
 > Oh and then go test it on the dozens of platforms we support and
 > maybe you'll understand why it hasn't been dealt with yet.
 
 This fix is safe, it fix problem or does nothing on platforms which not
 support l10n.
 
 *** src/Makefile.tmpl.orig=09Thu Oct 16 22:56:56 1997
 --- src/Makefile.tmpl=09Wed Oct 22 22:59:55 1997
 ***************
 *** 28,34 ****
  =20
   httpd:  subdirs modules.o
   =09rm -f buildmark.c
 ! =09echo 'const char SERVER_BUILT[] =3D "'`date`'";' > buildmark.c
   =09$(CC) -c $(CFLAGS) buildmark.c
   =09$(CC) $(CFLAGS) $(LDFLAGS)  -o httpd buildmark.o $(OBJS) $(REGLIB) $(L=
 IBS)
  =20
 --- 28,34 ----
  =20
   httpd:  subdirs modules.o
   =09rm -f buildmark.c
 ! =09echo 'const char SERVER_BUILT[] =3D "'`LC_TIME=3DC date`'";' > buildma=
 rk.c
   =09$(CC) -c $(CFLAGS) buildmark.c
   =09$(CC) $(CFLAGS) $(LDFLAGS)  -o httpd buildmark.o $(OBJS) $(REGLIB) $(L=
 IBS)
  =20
 *** src/support/log_server_status.bak=09Thu Oct 16 22:58:27 1997
 --- src/support/log_server_status=09Thu Oct 23 00:13:07 1997
 ***************
 *** 88,94 ****
   ### Main
  =20
   {
 ! =09$date=3D`date +%y%m%d:%H%M%S`;
   =09chop($date);
   =09($day,$time)=3Dsplit(/:/,$date);
   =09$res=3D&tcp_connect($server,$port);
 --- 88,94 ----
   ### Main
  =20
   {
 ! =09$date=3D`LC_TIME=3DC date +%y%m%d:%H%M%S`;
   =09chop($date);
   =09($day,$time)=3Dsplit(/:/,$date);
   =09$res=3D&tcp_connect($server,$port);
 
 
 --=20
 Andrey A. Chernov
 <[EMAIL PROTECTED]>
 http://www.nagual.pp.ru/~ache/
 

Reply via email to