[Webkit-unassigned] [Bug 51977] Detection of timegm() is incorrect for LSB compilers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 5 18:22:36 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=51977





--- Comment #1 from Craig Scott <audiofanatic+webkit at gmail.com>  2011-01-05 18:22:36 PST ---
Sorry, not quite right. The corrected version of the code should be this:

#if !OS(WINDOWS) && !OS(SOLARIS) && !OS(QNX) \
    && !OS(SYMBIAN) && !OS(HAIKU) && !OS(RVCT) \
    && !OS(ANDROID) && !PLATFORM(BREWMP)
#define HAVE_TM_GMTOFF 1
#define HAVE_TM_ZONE 1
#if !defined(__LSB_VERSION__)
#define HAVE_TIMEGM 1
#endif
#endif

The LSB spec *does* have tm_gmtoff and tm_zone in the tm data structure since LSB 1.2, which basically all linux distributions would adhere to by now.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list