[Popcon-commits] cvs commit to popularity-contest by ballombe
ballombe at cvs.alioth.debian.org
ballombe at cvs.alioth.debian.org
Tue Jan 8 22:49:52 UTC 2008
Update of /cvsroot/popcon/popularity-contest
In directory alioth:/tmp/cvs-serv21083
Modified Files:
popularity-contest
Log Message:
Fix bug I managed to introduce in Johan Walles patch.
Index: popularity-contest
===================================================================
RCS file: /cvsroot/popcon/popularity-contest/popularity-contest,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- popularity-contest 8 Jan 2008 18:48:35 -0000 1.20
+++ popularity-contest 8 Jan 2008 22:49:50 -0000 1.21
@@ -104,10 +104,10 @@
while (<FILES>)
{
chop;
- m{/bin/|/sbin/|^/usr/games/|\.[ah]$|\.pm$|\.php$|^/boot/System\.map-}
- || -f $_
- || defined $mapped{$_}
- || next;
+ next unless (
+ ( m{/bin/|/sbin/|^/usr/games/|\.[ah]$|\.pm$|\.php$|^/boot/System\.map-}
+ || defined $mapped{$_} )
+ && -f $_);
my($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,
$atime,$mtime,$ctime,$blksize,$blocks)
= stat;
More information about the Popcon-commits
mailing list