Date: Thu, 12 Aug 1999 00:10:02 -0700 (PDT) From: Bruce Evans <bde@zeta.org.au> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/4420: find -exedir doesn't chdir for first entry Message-ID: <199908120710.AAA47094@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/4420; it has been noted by GNATS. From: Bruce Evans <bde@zeta.org.au> To: dzerkel@columbus.rr.com, freebsd-bugs@FreeBSD.ORG Cc: freebsd-gnats-submit@FreeBSD.ORG, imp@village.org Subject: Re: bin/4420: find -exedir doesn't chdir for first entry Date: Thu, 12 Aug 1999 17:04:12 +1000 > Thus, with my patch: > > $ find /tmp -type d -execdir pwd \; -execdir echo {} \; > / > tmp > /tmp > .X11-unix > $ > > Oddly enough, a find of / yeilds a pwd of / and an empty {}. One can > only wonder. The XXX comment in f_exedir() says that paths with trailing slashes are mishandled if they actually occur. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199908120710.AAA47094>