brian 96/06/13 12:49:58
Modified: support Makefile rotatelogs.c
Log:
Reviewed by: Brian Behlendorf
Submitted by: Garey Smiley
OS/2 compatibility enhancements.
Revision Changes Path
1.9 +3 -0 apache/support/Makefile
Index: Makefile
===================================================================
RCS file: /export/home/cvs/apache/support/Makefile,v
retrieving revision 1.8
retrieving revision 1.9
diff -C3 -r1.8 -r1.9
*** Makefile 1996/06/13 03:39:29 1.8
--- Makefile 1996/06/13 19:49:55 1.9
***************
*** 9,14 ****
--- 9,17 ----
CFLAGS= -g
# For SCO ODT
#EXTRA_LIBS= -lcrypt_i
+ # For OS/2 port
+ #EXTRA_LIBS= -llibufc
+
INCLUDES= -I../src
1.2 +5 -1 apache/support/rotatelogs.c
Index: rotatelogs.c
===================================================================
RCS file: /export/home/cvs/apache/support/rotatelogs.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -C3 -r1.1 -r1.2
*** rotatelogs.c 1996/03/12 18:09:25 1.1
--- rotatelogs.c 1996/06/13 19:49:55 1.2
***************
*** 28,34 ****
if(argc != 3)
{
fprintf(stderr,"%s <logfile> <rotation time in seconds>\n\n",argv[0]);
! fprintf(stderr,"Add this:\n\nTransferLog \"|%s /some/where
86400\"\n\n",argv[0]);
fprintf(stderr,"to httpd.conf. The generated name will be
/some/where.nnnn where nnnn is the\n");
fprintf(stderr,"system time at which the log nominally starts (N.B.
this time will always be a\n");
fprintf(stderr,"multiple of the rotation time, so you can synchronize
cron scripts with it).\n");
--- 28,38 ----
if(argc != 3)
{
fprintf(stderr,"%s <logfile> <rotation time in seconds>\n\n",argv[0]);
! #ifdef __EMX__
! fprintf(stderr,"Add this:\n\nTransferLog \"|%s.exe /some/where
86400\"\n\n",argv[0]);
! #else
! fprintf(stderr,"Add this:\n\nTransferLog \"|%s /some/where
86400\"\n\n",argv[0]);
! #endif
fprintf(stderr,"to httpd.conf. The generated name will be
/some/where.nnnn where nnnn is the\n");
fprintf(stderr,"system time at which the log nominally starts (N.B.
this time will always be a\n");
fprintf(stderr,"multiple of the rotation time, so you can synchronize
cron scripts with it).\n");