[xiph-cvs] cvs commit: ices/src log.c

Brendan brendan at xiph.org
Wed Mar 12 21:06:44 PST 2003



brendan     03/03/13 00:06:43

  Modified:    src      log.c
  Log:
  Append to log file instead of truncating it.

Revision  Changes    Path
1.12      +1 -1      ices/src/log.c

Index: log.c
===================================================================
RCS file: /cvs/ice/ices/src/log.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- log.c	9 Mar 2003 08:29:12 -0000	1.11
+++ log.c	13 Mar 2003 05:06:43 -0000	1.12
@@ -174,7 +174,7 @@
   snprintf (namespace, sizeof (namespace), "%s/ices.log",
             ices_config.base_directory);
 
-  logfp = ices_util_fopen_for_writing (namespace);
+  logfp = fopen (namespace, "a");
 
   if (!logfp) {
     ices_log_error ("Error while opening %s, error: %s", namespace,

<p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list