From: hno <> Date: Sun, 7 Apr 2002 03:48:44 +0000 (+0000) Subject: A matching #ifdef S_ISREG on the temporary sb variable used for S_ISREG X-Git-Tag: SQUID_3_0_PRE1~1118 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ca1d2c4bb364a6400ea09958d687898972da3fd9;p=thirdparty%2Fsquid.git A matching #ifdef S_ISREG on the temporary sb variable used for S_ISREG testing.. --- diff --git a/src/logfile.cc b/src/logfile.cc index 5982e12225..973fe7ef37 100644 --- a/src/logfile.cc +++ b/src/logfile.cc @@ -1,5 +1,5 @@ /* - * $Id: logfile.cc,v 1.9 2001/04/17 20:34:53 wessels Exp $ + * $Id: logfile.cc,v 1.10 2002/04/06 20:48:44 hno Exp $ * * DEBUG: section 50 Log file handling * AUTHOR: Duane Wessels @@ -82,7 +82,9 @@ logfileClose(Logfile * lf) void logfileRotate(Logfile * lf) { +#ifdef S_ISREG struct stat sb; +#endif int i; char from[MAXPATHLEN]; char to[MAXPATHLEN];