pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/pkgtools/pkglint/files



Module Name:    pkgsrc
Committed By:   rillig
Date:           Thu Oct 15 03:00:56 UTC 2015

Modified Files:
        pkgsrc/pkgtools/pkglint/files: pkglint.pl

Log Message:
Reverted part of 1.888 (perlcritic --stern)

The warning that "return undef" is bad must be taken with great care.
Although perlcritic explains it a lot and warns to think before simply
fixing it, it doesn't mention that in some cases a simple "return" means
"return '0'", which had happened here.


To generate a diff of this commit:
cvs rdiff -u -r1.892 -r1.893 pkgsrc/pkgtools/pkglint/files/pkglint.pl

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index