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 Thu Oct 16 22:56:56 1997
--- src/Makefile.tmpl Wed Oct 22 22:59:55 1997
***************
*** 28,34 ****
httpd: subdirs modules.o
rm -f buildmark.c
! echo 'const char SERVER_BUILT[] = "'`date`'";' > buildmark.c
$(CC) -c $(CFLAGS) buildmark.c
$(CC) $(CFLAGS) $(LDFLAGS) -o httpd buildmark.o $(OBJS) $(REGLIB)
$(LIBS)
--- 28,34 ----
httpd: subdirs modules.o
rm -f buildmark.c
! echo 'const char SERVER_BUILT[] = "'`LC_TIME=C date`'";' > buildmark.c
$(CC) -c $(CFLAGS) buildmark.c
$(CC) $(CFLAGS) $(LDFLAGS) -o httpd buildmark.o $(OBJS) $(REGLIB)
$(LIBS)
*** src/support/log_server_status.bak Thu Oct 16 22:58:27 1997
--- src/support/log_server_status Thu Oct 23 00:13:07 1997
***************
*** 88,94 ****
### Main
{
! $date=`date +%y%m%d:%H%M%S`;
chop($date);
($day,$time)=split(/:/,$date);
$res=&tcp_connect($server,$port);
--- 88,94 ----
### Main
{
! $date=`LC_TIME=C date +%y%m%d:%H%M%S`;
chop($date);
($day,$time)=split(/:/,$date);
$res=&tcp_connect($server,$port);
--
Andrey A. Chernov
<[EMAIL PROTECTED]>
http://www.nagual.pp.ru/~ache/