summaryrefslogtreecommitdiff
path: root/textproc/makepatch/files/patch-makepatch.PL
blob: ee0bb07c45b4dc878ee67c7aed091ee040adfd9d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- makepatch.PL	Sun Dec  6 09:04:51 1998
+++ makepatch.PL.new	Mon Nov  5 19:47:17 2001
@@ -670,11 +670,14 @@
 	$skipped++;
 	return 0;
     }
-    if ( -B $fh ) {
-	verbose ("WARNING: Binary file $new -- skipped\n");
-	$skipped++;
-	return 0;
-    }
+#  Binary/Text test on filehandle makes no sense (and causes failure)
+#  on FreeBSD
+#
+#    if ( -B $fh ) {
+#	verbose ("WARNING: Binary file $new -- skipped\n");
+#	$skipped++;
+#	return 0;
+#    }
     my $pos = $fh->getpos;
     while ( <$fh> ) {
 	$lines++;