From owner-cvs-all Mon Jun 8 21:11:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA21813 for cvs-all-outgoing; Mon, 8 Jun 1998 21:11:37 -0700 (PDT) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA21804; Mon, 8 Jun 1998 21:11:35 -0700 (PDT) (envelope-from imp@FreeBSD.org) From: Warner Losh Received: (from imp@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id VAA16795; Mon, 8 Jun 1998 21:10:11 -0700 (PDT) Date: Mon, 8 Jun 1998 21:10:11 -0700 (PDT) Message-Id: <199806090410.VAA16795@freefall.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 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message