File tree Expand file tree Collapse file tree 3 files changed +3
-9
lines changed Expand file tree Collapse file tree 3 files changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -1407,9 +1407,6 @@ char *tzname[] = { "" , "" };
14071407# endif
14081408# ifdef __MINGW32__
14091409# define mode_t short
1410- # ifndef tzset
1411- # define tzset () not_here("tzset")
1412- # endif
14131410# ifndef _POSIX_OPEN_MAX
14141411# define _POSIX_OPEN_MAX FOPEN_MAX /* XXX bogus ? */
14151412# endif
Original file line number Diff line number Diff line change @@ -18,12 +18,11 @@ $ENV{TZ} = "EST5EDT";
1818
1919SKIP: {
2020 # It looks like POSIX.xs claims that only VMS and Mac OS traditional
21- # don't have tzset(). Win32 works to call the function, but it doesn't
21+ # don't have tzset(). Win32 XXX works to call the function, but it doesn't
2222 # actually do anything. Cygwin works in some places, but not others. The
2323 # other Win32's below are guesses.
2424 skip " No tzset()" , 1
25- if $^O eq " VMS" || $^O eq " cygwin" ||
26- $^O eq " MSWin32" || $^O eq " interix" ;
25+ if $^O eq " VMS" || $^O eq " cygwin" || $^O eq " interix" ;
2726 tzset();
2827 SKIP: {
2928 my @tzname = tzname();
@@ -43,8 +42,7 @@ $ENV{TZ} = "UTC0UTC";
4342
4443SKIP: {
4544 skip " No tzset()" , 2
46- if $^O eq " VMS" || $^O eq " cygwin" ||
47- $^O eq " MSWin32" || $^O eq " interix" ;
45+ if $^O eq " VMS" || $^O eq " cygwin" || $^O eq " interix" ;
4846 tzset();
4947 my @tzname = tzname();
5048 like($tzname [0], qr / (GMT|UTC)/ i , " tzset() to GMT/UTC" );
Original file line number Diff line number Diff line change @@ -51,7 +51,6 @@ SKIP: {
5151 # This conditional of "No tzset()" is stolen from ext/POSIX/t/time.t
5252 skip " No tzset()" , 1
5353 if $^O eq " VMS" || $^O eq " cygwin" ||
54- $^O eq " MSWin32" ||
5554 $^O eq " interix" ;
5655
5756# check that localtime respects changes to $ENV{TZ}
You can’t perform that action at this time.
0 commit comments