diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2007-03-15 09:35:14 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2007-03-15 09:35:14 +0000 |
commit | c1646883872c5259818f567a798ce6b27de42050 (patch) | |
tree | 7cb216a5f24e26fb1351fe259820a3b848b29fbb /ext/POSIX/POSIX.xs | |
parent | 80f4f32792d1ebaf9226204ada09d937bbb0f50b (diff) | |
download | perl-c1646883872c5259818f567a798ce6b27de42050.tar.gz |
Make the isdst argument to asctime and mktime default to -1
instead of 0, as suggested by Mike Schilli.
p4raw-id: //depot/perl@30590
Diffstat (limited to 'ext/POSIX/POSIX.xs')
-rw-r--r-- | ext/POSIX/POSIX.xs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/POSIX/POSIX.xs b/ext/POSIX/POSIX.xs index 8f51750aac..207d02a3f7 100644 --- a/ext/POSIX/POSIX.xs +++ b/ext/POSIX/POSIX.xs @@ -1727,7 +1727,7 @@ tcsendbreak(fd, duration) int duration char * -asctime(sec, min, hour, mday, mon, year, wday = 0, yday = 0, isdst = 0) +asctime(sec, min, hour, mday, mon, year, wday = 0, yday = 0, isdst = -1) int sec int min int hour @@ -1781,7 +1781,7 @@ difftime(time1, time2) Time_t time2 SysRetLong -mktime(sec, min, hour, mday, mon, year, wday = 0, yday = 0, isdst = 0) +mktime(sec, min, hour, mday, mon, year, wday = 0, yday = 0, isdst = -1) int sec int min int hour |