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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 5 18:14:38 PST 2011


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

           Summary: Detection of timegm() is incorrect for LSB compilers
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: audiofanatic+webkit at gmail.com


In JavaScriptCore/wtf/Platform.h the detection for availability of timegm() is as follows:

#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
#define HAVE_TIMEGM 1
#endif

However, under linux with LSB compilers, there is no timegm() either. Therefore, an additional !defined(__LSB_VERSION__) needs to be added to the #if condition.

-- 
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