diff options
Diffstat (limited to 'sysutils/tracker-client/files/patch-src_trackerd_tracker-utils.c')
-rw-r--r-- | sysutils/tracker-client/files/patch-src_trackerd_tracker-utils.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sysutils/tracker-client/files/patch-src_trackerd_tracker-utils.c b/sysutils/tracker-client/files/patch-src_trackerd_tracker-utils.c new file mode 100644 index 000000000..132346af4 --- /dev/null +++ b/sysutils/tracker-client/files/patch-src_trackerd_tracker-utils.c @@ -0,0 +1,14 @@ +--- src/trackerd/tracker-utils.c.orig 2007-08-05 01:53:12.000000000 +0400 ++++ src/trackerd/tracker-utils.c 2007-08-24 22:31:05.000000000 +0400 +@@ -727,10 +727,7 @@ + tm.tm_sec = strtoul (timestamp, (char **)×tamp, 10); + } + +- tt = mktime (&tm); +- /* mktime() always assumes that "tm" is in locale time but +- we want to keep control on time, so we go to UTC */ +- tt -= timezone; ++ tt = timegm (&tm); + + if (*timestamp == '+' || *timestamp == '-') { + int sign; |