logrotate's path-type options (eg. compress, olddir, just to name a few) fail because FreeBSD's libc implements mbtrowc(3) differently, and returns -2 on empty string. Linux version, however, returns 0. A simple zero-length check added to path check function, which hides this. Fix: Patch attached with submission follows:
Class Changed From-To: sw-bug->maintainer-update Fix category (submitter is maintainer) (via the GNATS Auto Assign Tool)
Committers?
Responsible Changed From-To: freebsd-ports-bugs->miwi I'll take it.
State Changed From-To: open->closed Committed. Thanks!
miwi 2008-08-15 19:19:35 UTC FreeBSD ports repository Modified files: sysutils/logrotate Makefile sysutils/logrotate/files patch-aa Log: - Olddir options fix logrotate's path-type options (eg. compress, olddir, just to name a few) fail because FreeBSD's libc implements mbtrowc(3) differently, and returns -2 on empty string. Linux version, however, returns 0. A simple zero-length check added to path check function, which hides this. PR: 126337 Submitted by: Balazs NAGY <js@iksz.hu> (maintainer) Revision Changes Path 1.26 +1 -0 ports/sysutils/logrotate/Makefile 1.7 +15 -6 ports/sysutils/logrotate/files/patch-aa _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"