|
|
|
@ -1,15 +1,3 @@
|
|
|
|
|
Index: src/SimpleLogger.cc
|
|
|
|
|
--- src/SimpleLogger.cc.orig 2009-02-15 15:55:07 +0100
|
|
|
|
|
+++ src/SimpleLogger.cc 2009-03-27 10:22:38 +0100
|
|
|
|
|
@@ -149,7 +149,7 @@
|
|
|
|
|
struct tm tm;
|
|
|
|
|
//tv.tv_sec may not be of type time_t.
|
|
|
|
|
time_t timesec = tv.tv_sec;
|
|
|
|
|
- localtime_r(×ec, &tm);
|
|
|
|
|
+ localtime_r((const time_t *)×ec, &tm);
|
|
|
|
|
size_t dateLength =
|
|
|
|
|
strftime(datestr, sizeof(datestr), "%Y-%m-%d %H:%M:%S", &tm);
|
|
|
|
|
assert(dateLength <= (size_t)20);
|
|
|
|
|
Index: test/FileTest.cc
|
|
|
|
|
--- test/FileTest.cc.orig 2009-02-15 15:54:55 +0100
|
|
|
|
|
+++ test/FileTest.cc 2009-03-27 10:22:38 +0100
|
|
|
|
|