Change 34449 by [EMAIL PROTECTED] on 2008/09/30 16:31:09

        Correct the sLOCALTIME_{min|max} values added by #34363 for BCC and VC9
        (Manually checking with the Configure test programs shows that the
        values differ fromt he sGMTIME_{min|max} values for these compilers)

Affected files ...

... //depot/perl/win32/config.bc#184 edit
... //depot/perl/win32/config_H.bc#182 edit
... //depot/perl/win32/config_sh.PL#48 edit

Differences ...

==== //depot/perl/win32/config.bc#184 (text) ====
Index: perl/win32/config.bc
--- perl/win32/config.bc#183~34363~     2008-09-15 01:22:14.000000000 -0700
+++ perl/win32/config.bc        2008-09-30 09:31:09.000000000 -0700
@@ -863,7 +863,7 @@
 sGMTIME_max="2147483647"
 sGMTIME_min="-2147483648"
 sLOCALTIME_max="2147483647"
-sLOCALTIME_min="-2147483648"
+sLOCALTIME_min="0"
 sPRIEUldbl='"E"'
 sPRIFUldbl='"F"'
 sPRIGUldbl='"G"'

==== //depot/perl/win32/config_H.bc#182 (text+w) ====
Index: perl/win32/config_H.bc
--- perl/win32/config_H.bc#181~34363~   2008-09-15 01:22:14.000000000 -0700
+++ perl/win32/config_H.bc      2008-09-30 09:31:09.000000000 -0700
@@ -4439,7 +4439,7 @@
  *     the system function localtime () accepts, and defaults to 0
  */
 #define LOCALTIME_MAX  2147483647      /**/
-#define LOCALTIME_MIN  -2147483648     /**/
+#define LOCALTIME_MIN  0       /**/
 
 /* USE_64_BIT_INT:
  *     This symbol, if defined, indicates that 64-bit integers should

==== //depot/perl/win32/config_sh.PL#48 (text) ====
Index: perl/win32/config_sh.PL
--- perl/win32/config_sh.PL#47~34363~   2008-09-15 01:22:14.000000000 -0700
+++ perl/win32/config_sh.PL     2008-09-30 09:31:09.000000000 -0700
@@ -131,7 +131,7 @@
     }
 }
 
-# change the sGMTIME_min and sGMTIME_max for VS2005 (aka VC 8) and
+# change the s{GM|LOCAL}TIME_{min|max} for VS2005 (aka VC 8) and
 # VS2008 (aka VC 9) or higher (presuming that later versions will have
 # at least the range of that).
 if ($opt{cc} eq 'cl' and $opt{ccversion} =~ /^(\d+)/) {
@@ -143,8 +143,7 @@
     elsif ($ccversion >= 15) {
        $opt{sGMTIME_min} = -43200;
        $opt{sGMTIME_max} = 32535291599;
-       $opt{sLOCALTIME_min} = -43200;
-       $opt{sLOCALTIME_max} = 32535291599;
+       $opt{sLOCALTIME_max} = 32535244799;
     }
 }
 
End of Patch.

Reply via email to