gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash/server/asobj Date.cpp


From: Martin Guy
Subject: [Gnash-commit] gnash/server/asobj Date.cpp
Date: Sun, 11 Feb 2007 14:28:28 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Martin Guy <martinwguy> 07/02/11 14:28:28

Modified files:
        server/asobj   : Date.cpp 

Log message:
        Disable use of tzset/timezone until someone implements use of tm_gmtoff 
in
        as a preferred alternative to tzset/timezone.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/Date.cpp?cvsroot=gnash&r1=1.22&r2=1.23

Patches:
Index: Date.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/Date.cpp,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -b -r1.22 -r1.23
--- Date.cpp    7 Feb 2007 19:17:22 -0000       1.22
+++ Date.cpp    11 Feb 2007 14:28:28 -0000      1.23
@@ -79,6 +79,11 @@
 #if HAVE_FTIME
 # include <sys/timeb.h>                // for ftime()
 #endif
+
+// Is broken on BSD where timezone(int,int) is a function (!)
+// See comment at line 497 for a better implementation
+#undef HAVE_TZSET      
+
 #if HAVE_TZSET
 extern long timezone;          // for tzset()/timezone
 #endif




reply via email to

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