OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-re Date: 07-Oct-2003 10:22:51
Branch: HEAD Handle: 2003100709225100
Modified files:
openpkg-re rpmlint.pl
Log:
directories often have size 0
Summary:
Revision Changes Path
1.12 +1 -1 openpkg-re/rpmlint.pl
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-re/rpmlint.pl
============================================================================
$ cvs diff -u -r1.11 -r1.12 rpmlint.pl
--- openpkg-re/rpmlint.pl 23 Jul 2003 15:45:51 -0000 1.11
+++ openpkg-re/rpmlint.pl 7 Oct 2003 08:22:51 -0000 1.12
@@ -375,7 +375,7 @@
# check for empty files
foreach my $path (keys(%{$info->{ls}})) {
- if ($info->{ls}->{$path}->{'size'} == 0) {
+ if ($info->{ls}->{$path}->{'size'} == 0 and $info->{ls}->{$path}->{'perm'}
!~ m|^d|) {
&lint_warning($rpm, "empty file \"$path\" found (expected no empty
files)");
}
}
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]