X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=reentr.pl;h=ea327a09febfe02a96dc627a30d7305bc2f18ca2;hb=4a9e32d883a2352f4baeab6cfa9a5ebeadedb121;hp=aea679df44aa1d6af5210c03a1e7752e61b6daaa;hpb=b6b9a09997c80269af874aff41936e014ed728f7;p=p5sagit%2Fp5-mst-13.2.git diff --git a/reentr.pl b/reentr.pl index aea679d..ea327a0 100644 --- a/reentr.pl +++ b/reentr.pl @@ -41,9 +41,8 @@ my %map = ( # safer_unlink 'reentr.h'; -die "reentr.pl: $!" unless open(H, ">reentr.h-new"); -binmode H; -select H; +my $h = safer_open("reentr.h-new"); +select $h; print <reentr.c-new"); -binmode C; -select C; +my $c = safer_open("reentr.c-new"); +select $c; print <