Change reentr.pl to generate reentr.h accordingly to change 29209
Rafael Garcia-Suarez [Mon, 6 Nov 2006 10:09:12 +0000 (10:09 +0000)]
p4raw-id: //depot/perl@29210

reentr.pl

index c8a5606..527bd1c 100644 (file)
--- a/reentr.pl
+++ b/reentr.pl
@@ -717,6 +717,9 @@ EOF
            }
 
            my $call = "${func}_r($v$w)";
+           if ($func eq 'localtime') {
+               $call = "L_R_TZSET $call";
+           }
 
             # Must make OpenBSD happy
             my $memzero = '';