Date: Mon, 8 Jun 1998 21:10:11 -0700 (PDT) From: Warner Losh <imp@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrbin@FreeBSD.ORG Subject: cvs commit: src/usr.bin/find ls.c src/usr.bin/rdist server.c Message-ID: <199806090410.VAA16795@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
imp 1998/06/08 21:10:11 PDT Modified files: usr.bin/find ls.c usr.bin/rdist server.c Log: Make sure we pass the length - 1 to readlink, since it adds its own NUL at the end of the path. Inspired by: OpenBSD's changes in this area by theo de raadt Revision Changes Path 1.4 +1 -1 src/usr.bin/find/ls.c 1.9 +3 -3 src/usr.bin/rdist/server.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806090410.VAA16795>