gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r3674 - in GNUnet: . src/util/loggers


From: grothoff
Subject: [GNUnet-SVN] r3674 - in GNUnet: . src/util/loggers
Date: Wed, 8 Nov 2006 12:46:14 -0800 (PST)

Author: grothoff
Date: 2006-11-08 12:46:13 -0800 (Wed, 08 Nov 2006)
New Revision: 3674

Modified:
   GNUnet/src/util/loggers/file.c
   GNUnet/todo
Log:
append, not truncate

Modified: GNUnet/src/util/loggers/file.c
===================================================================
--- GNUnet/src/util/loggers/file.c      2006-11-08 20:43:48 UTC (rev 3673)
+++ GNUnet/src/util/loggers/file.c      2006-11-08 20:46:13 UTC (rev 3674)
@@ -212,7 +212,7 @@
     if (0 != strcmp(name,
                    fctx->filename)) {      
       fclose(fctx->handle);
-      fctx->handle = FOPEN(name, "w+");
+      fctx->handle = FOPEN(name, "a+");
       FREE(fctx->filename);
       fctx->filename = name;
       dirname = STRDUP(name);
@@ -292,7 +292,7 @@
   } else {
     name = STRDUP(filename);
   }
-  fd = FOPEN(name, "w+");
+  fd = FOPEN(name, "a+");
   if (fd == NULL) {
     GE_LOG_STRERROR_FILE(ectx,
                         GE_ERROR | GE_USER | GE_ADMIN | GE_IMMEDIATE | GE_BULK,

Modified: GNUnet/todo
===================================================================
--- GNUnet/todo 2006-11-08 20:43:48 UTC (rev 3673)
+++ GNUnet/todo 2006-11-08 20:46:13 UTC (rev 3674)
@@ -14,7 +14,6 @@
 
 0.7.1 [11'06] (aka "stabilization")
 - fix critical known bugs:
-  * restarting truncates existing log files (should append)
   * recursive gnunet-download stopped working [RCpre0]
     ?: no reply from gnunetd (we seem to send queries, but gnunetd does not 
respond!)
        => insert error? wrong query?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]