projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4792f62
)
Change #4149 necessitates also a small code change.
author
Jarkko Hietaniemi
<jhi@iki.fi>
Tue, 14 Sep 1999 20:30:00 +0000
(20:30 +0000)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Tue, 14 Sep 1999 20:30:00 +0000
(20:30 +0000)
p4raw-id: //depot/cfgperl@4156
ext/B/defsubs_h.PL
patch
|
blob
|
history
diff --git
a/ext/B/defsubs_h.PL
b/ext/B/defsubs_h.PL
index
2129c8c
..
8dfa3a5
100644
(file)
--- a/
ext/B/defsubs_h.PL
+++ b/
ext/B/defsubs_h.PL
@@
-4,6
+4,7
@@
#!perl
my ($out) = __FILE__ =~ /(^.*)\.PL/;
if ($^O eq 'VMS') { ($out) = __FILE__ =~ /^(.+)_PL$/i; }
+$out =~ s/_h$/.h/;
open(OUT,">$out") || die "Cannot open $file:$!";
print "Extracting $out . . .\n";
foreach my $const (qw(AVf_REAL