Date: Wed, 28 Feb 2001 21:49:37 -0800 (PST) From: Warner Losh <imp@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/find ls.c Message-ID: <200103010549.f215nbX99116@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
imp 2001/02/28 21:49:37 PST
Modified files:
usr.bin/find ls.c
Log:
MAXPATHLEN already accounts for the trailing NUL, so no need to add one in.
In addition, since we pass readlink MAXPATHLEN - 1, we would have never have
used that extra byte anyway.
Revision Changes Path
1.7 +2 -2 src/usr.bin/find/ls.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103010549.f215nbX99116>
