[Orca-checkins] rev 139 - trunk/orca/orcallator

blair at orcaware.com blair at orcaware.com
Sat Jul 13 22:58:01 PDT 2002


Author: blair
Date: Wed, 10 Jul 2002 12:59:28 -0700
New Revision: 139

Modified:
   trunk/orca/orcallator/orcallator.se
Log:
* orcallator/orcallator.se:
  Upgrade to version 1.33.
    In check_output_log_filename(), stat() was was being passed a
      stat_t by value, instead of a pointer to a stat_t.  Only the
      return value from stat() was being used, so this bug had no
      effect upon the logic of the code.  Problem noted by Richard
      Pettit <richp at setoolkit.com>.


Modified: trunk/orca/orcallator/orcallator.se
==============================================================================
--- trunk/orca/orcallator/orcallator.se	(original)
+++ trunk/orca/orcallator/orcallator.se	Sat Jul 13 22:57:36 2002
@@ -8,6 +8,12 @@
 //
 // Portions copied from percollator.se written by Adrian Cockroft.
 //
+// Version 1.33:   Jul 10, 2002	In check_output_log_filename(), stat() was
+//				was being passed a stat_t by value, instead of
+//				a pointer to a stat_t.  Only the return value
+//				from stat() was being used, so this bug had
+//				no effect upon the logic of the code.  Problem
+//				noted by Richard Pettit <richp at setoolkit.com>.
 // Version 1.32:   Oct 24, 2001	Fix a problem where the web access log file
 //				pointer instead of the file descriptor was
 //				being passed to fstat().  Fix a problem where
@@ -853,7 +859,7 @@
   string output_directory = getenv("OUTDIR");
   string output_filename;
   string compressed_filename;
-  stat_t log_file_stat;
+  stat_t log_file_stat[1];
   tm_t   then;
   char   tm_buf[32];
   int    file_number;




More information about the Orca-checkins mailing list