xsubpp produces a spurious warning on directories called 'typemap'
Gurusamy Sarathy [Sun, 25 Nov 2001 00:32:36 +0000 (00:32 +0000)]
p4raw-id: //depot/perl@13249

lib/ExtUtils/xsubpp

index d242ff1..98bb739 100755 (executable)
@@ -211,7 +211,7 @@ unshift @tm, qw(../../../../lib/ExtUtils/typemap ../../../lib/ExtUtils/typemap
                 ../../lib/ExtUtils/typemap ../../../typemap ../../typemap
                 ../typemap typemap);
 foreach $typemap (@tm) {
-    next unless -e $typemap ;
+    next unless -f $typemap ;
     # skip directories, binary files etc.
     warn("Warning: ignoring non-text typemap file '$typemap'\n"), next 
        unless -T $typemap ;