X-Git-Url: https://perl5.git.perl.org/perl5.git/blobdiff_plain/d4222de00860407a7c86f19fdb5531ac98b1b7ad..f822d0dde66fdda982c2d08cb08ce96a22c7dea0:/reentr.pl diff --git a/reentr.pl b/reentr.pl index 8cc4a5e..b90c61d 100644 --- a/reentr.pl +++ b/reentr.pl @@ -1,9 +1,20 @@ #!/usr/bin/perl -w - -# -# Generate the reentr.c and reentr.h, -# and optionally also the relevant metaconfig units (-U option). # +# Regenerate (overwriting only if changed): +# +# reentr.h +# reentr.c +# +# from information stored in the DATA section of this file. +# +# With the -U option, it also unconditionally regenerates the relevant +# metaconfig units: +# +# d_${func}_r.U +# +# Also accepts the standard regen_lib -q and -v args. +# +# This script is normally invoked from regen.pl. BEGIN { # Get function prototypes @@ -504,7 +515,7 @@ EOF EOF pushssif $endif; } - elsif ($func =~ /^(drand48|gmtime|localtime|random|srandom)$/) { + elsif ($func =~ /^(drand48|random|srandom)$/) { pushssif $ifdef; push @struct, <