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)