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:
a52cb5f
)
Skip processing a file if the file to be opened is '-'
author
Jarkko Hietaniemi
<jhi@iki.fi>
Sun, 21 Nov 1999 16:07:20 +0000
(16:07 +0000)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Sun, 21 Nov 1999 16:07:20 +0000
(16:07 +0000)
(can happen in UNICOS)
p4raw-id: //depot/cfgperl@4596
ext/Errno/Errno_pm.PL
patch
|
blob
|
history
diff --git
a/ext/Errno/Errno_pm.PL
b/ext/Errno/Errno_pm.PL
index
18260a9
..
ba0b281
100644
(file)
--- a/
ext/Errno/Errno_pm.PL
+++ b/
ext/Errno/Errno_pm.PL
@@
-21,7
+21,7
@@
unlink "errno.c" if -f "errno.c";
sub process_file {
my($file) = @_;
- return
unless defined $file
;
+ return
if !defined $file || $file eq '-'
;
local *FH;
if (($^O eq 'VMS') && ($Config{vms_cc_type} ne 'gnuc')) {