Revision: 2296
          http://gtkpod.svn.sourceforge.net/gtkpod/?rev=2296&view=rev
Author:   teuf
Date:     2009-03-29 18:49:02 +0000 (Sun, 29 Mar 2009)

Log Message:
-----------
2009-03-29  Christophe Fergeau  <[email protected]>

        * src/itdb_device.c: don't call tzset even when calling localtime_r
        since we aren't interested in its side effects.

Modified Paths:
--------------
    libgpod/trunk/ChangeLog
    libgpod/trunk/src/itdb_device.c

Modified: libgpod/trunk/ChangeLog
===================================================================
--- libgpod/trunk/ChangeLog     2009-03-26 22:48:57 UTC (rev 2295)
+++ libgpod/trunk/ChangeLog     2009-03-29 18:49:02 UTC (rev 2296)
@@ -1,3 +1,8 @@
+2009-03-29  Christophe Fergeau  <[email protected]>
+
+       * src/itdb_device.c: don't call tzset even when calling localtime_r
+       since we aren't interested in its side effects.
+
 2009-03-26  Christophe Fergeau  <[email protected]>
 
        * tools/ipod-scsi.c:

Modified: libgpod/trunk/src/itdb_device.c
===================================================================
--- libgpod/trunk/src/itdb_device.c     2009-03-26 22:48:57 UTC (rev 2295)
+++ libgpod/trunk/src/itdb_device.c     2009-03-29 18:49:02 UTC (rev 2296)
@@ -1652,7 +1652,6 @@
 #   ifdef HAVE_LOCALTIME_R
     {
         struct tm tmb;
-        tzset ();
         localtime_r(&t, &tmb);
         seconds_east_utc = tmb.tm_gmtoff;
     }


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2

Reply via email to