From 6683669a6df1339a4d1816323a59ecded54b73e5 Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi Date: Sun, 21 Nov 1999 16:21:21 +0000 Subject: [PATCH] Replace #4596 with the change done in 5.005_03. p4raw-id: //depot/cfgperl@4597 --- ext/Errno/Errno_pm.PL | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/Errno/Errno_pm.PL b/ext/Errno/Errno_pm.PL index ba0b281..75dacfc 100644 --- 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 if !defined $file || $file eq '-'; + return unless defined $file and -f $file; local *FH; if (($^O eq 'VMS') && ($Config{vms_cc_type} ne 'gnuc')) { -- 2.7.4