[Bug 7128] New: RtlSetTimeZoneInformation() incorrectly calls settimeofday()

Wine Bugs wine-bugs at winehq.org
Tue Jan 9 11:11:05 CST 2007


http://bugs.winehq.org/show_bug.cgi?id=7128

           Summary: RtlSetTimeZoneInformation() incorrectly calls
                    settimeofday()
           Product: Wine
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: test
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: vapier at gentoo.org


the RtlSetTimeZoneInformation() function in dlls/ntdll/time.c fails to do
anything because it calls settimeofday() with a NULL first parameter

gcc/glibc warns about this:
time.c:1059: warning: null argument where non-null required (argument 1)

and indeed the glibc code basically does:
if (tv == NULL) return -1;

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list