[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r226 - branches/GNUnet06/src/util
From: |
durner |
Subject: |
[GNUnet-SVN] r226 - branches/GNUnet06/src/util |
Date: |
Wed, 9 Feb 2005 13:47:35 -0800 (PST) |
Author: durner
Date: 2005-02-09 13:47:34 -0800 (Wed, 09 Feb 2005)
New Revision: 226
Modified:
branches/GNUnet06/src/util/logging.c
Log:
Last changes for 0.6.6a/Win
Modified: branches/GNUnet06/src/util/logging.c
===================================================================
--- branches/GNUnet06/src/util/logging.c 2005-02-09 21:31:11 UTC (rev
225)
+++ branches/GNUnet06/src/util/logging.c 2005-02-09 21:47:34 UTC (rev
226)
@@ -29,7 +29,9 @@
#include "platform.h"
#include "gnunet_util.h"
+#ifndef MINGW
#include <langinfo.h>
+#endif
/**
* Where to write log information to.
@@ -132,7 +134,11 @@
}
logdate = &fullname[strlen(def->basename)];
ret = strptime(logdate,
+#ifndef MINGW
nl_langinfo(D_FMT),
+#else
+ "%Y%m%d",
+#endif
&t);
if ( (ret == NULL) ||
(ret[0] != '\0') ) {
@@ -186,7 +192,11 @@
def.basename = STRDUP(fn);
GNUNET_ASSERT(0 != strftime(datestr,
80,
- nl_langinfo(D_FMT),
+#ifndef MINGW
+ nl_langinfo(D_FMT),
+#else
+ "%Y%m%d",
+#endif
&def.curtime));
strcat(fn, datestr);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r226 - branches/GNUnet06/src/util,
durner <=