The following reply was made to PR other/1309; it has been noted by GNATS. From: Marc Slemko <[EMAIL PROTECTED]> To: =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= <[EMAIL PROTECTED]> Cc: Apache bugs database <[EMAIL PROTECTED]> Subject: Re: other/1309: Wrong compiled-in date in localized environment Date: Thu, 23 Oct 1997 07:25:17 -0600 (MDT)
On Thu, 23 Oct 1997, [KOI8-R] =E1=CE=C4=D2=C5=CA =FE=C5=D2=CE=CF=D7 wrote: > On 23 Oct 1997 [EMAIL PROTECTED] wrote: >=20 > > Please supply a patch to fix this if you want. And search the > > bug database for all the other locale issues, there are many. >=20 > Patch included below. >=20 > > 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. >=20 > This fix is safe, it fix problem or does nothing on platforms which not > support l10n. >=20 > *** 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) $= (LIBS) This may well be changed to just being a file that uses __DATE__ and __TIME__ to avoid issues with NT and other OSes that don't support complex and advanced things like this. > ! $date=3D`LC_TIME=3DC date +%y%m%d:%H%M%S`; Anyone know if this works in NT at all? Well, if the original version or this one works at all.
