Date: Sat, 20 Nov 2004 02:51:28 +0200 From: Ruslan Ermilov <ru@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/bin/rmdir rmdir.c Message-ID: <20041120005128.GB20543@ip.net.ua> In-Reply-To: <200411200041.iAK0f8WN089836@repoman.freebsd.org> References: <200411200041.iAK0f8WN089836@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--VrqPEDrXMn8OVzN4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Nov 20, 2004 at 12:41:08AM +0000, Ruslan Ermilov wrote: > ru 2004-11-20 00:41:08 UTC >=20 > FreeBSD src repository >=20 > Modified files: > bin/rmdir rmdir.c=20 > Log: > Do not emit a spurious warning when "directory" argument > to "rmdir -p" is absolute, with one or more leading slash. > =20 > Revision Changes Path > 1.19 +3 -1 src/bin/rmdir/rmdir.c >=20 Note that POSIX.1-2004 requires that the -p option be handled like this, for each "dir" argument: rmdir <dir> rmdir -p $(dirname <dir>) So the fact that it won't remove /1/2/../2/3 is at least standards compliant. ;) Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --VrqPEDrXMn8OVzN4 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBnpUQqRfpzJluFF4RAslCAJkBaQreNbrBOBXB+VywwZMFOLcvUQCgnY+B yCv50WyTbes/1T8mQE3ZrEI= =RHKc -----END PGP SIGNATURE----- --VrqPEDrXMn8OVzN4--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041120005128.GB20543>