|
From: Davide S. <dsa...@us...> - 2002-10-10 20:29:25
|
User: dsavazzi
Date: 02/10/10 13:29:25
Modified: . log_accum.pl
Log:
Aggiunta l'estensione ps tra quelle di file binari.
Revision Changes Path
1.3 +1 -1 CVSROOT/log_accum.pl
Index: log_accum.pl
===================================================================
RCS file: /cvsroot/lugman/CVSROOT/log_accum.pl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- log_accum.pl 9 Oct 2002 19:44:13 -0000 1.2
+++ log_accum.pl 10 Oct 2002 20:29:25 -0000 1.3
@@ -230,7 +230,7 @@
# Perl's 'is this binary' algorithm; it's pretty good. But not
# perfect.
#
- if (($file =~ /\.(?:pdf|gif|jpg|mpg)$/i) || (-B $file)) {
+ if (($file =~ /\.(?:pdf|gif|jpg|mpg|ps)$/i) || (-B $file)) {
$diff .= "\t<<Binary file>>\n\n";
}
else {
|