X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=reentr.pl;h=0622a80aa0e013655acd3bc6448aa82b20d317e2;hb=2baadb76de5602fd6919cac96dea41124e89d11a;hp=339529fcdb1f083454e2b077129405bbc9624984;hpb=0891a229ed34cb34ddb76f1813dcb76d39a174fb;p=p5sagit%2Fp5-mst-13.2.git diff --git a/reentr.pl b/reentr.pl index 339529f..0622a80 100644 --- a/reentr.pl +++ b/reentr.pl @@ -469,7 +469,7 @@ EOF EOF pushssif $endif; } - elsif ($func =~ /^(drand48|gmtime|localtime|random)$/) { + elsif ($func =~ /^(drand48|gmtime|localtime|random|srandom)$/) { pushssif $ifdef; push @struct, < 0 && PL_reentrant_retint == ERANGE) || (errno == ERANGE)) ? Perl_reentrant_retry("$func"$rv) : 0)) +# define $func($v) ((PL_reentrant_retint = $call)$test ? $true : (((PL_reentrant_retint == ERANGE) || (errno == ERANGE)) ? Perl_reentrant_retry("$func"$rv) : 0)) EOF } else { push @wrap, <