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
[-- Attachment #1 --] On Sat, Nov 20, 2004 at 12:41:08AM +0000, Ruslan Ermilov wrote: > ru 2004-11-20 00:41:08 UTC > > FreeBSD src repository > > Modified files: > bin/rmdir rmdir.c > Log: > Do not emit a spurious warning when "directory" argument > to "rmdir -p" is absolute, with one or more leading slash. > > Revision Changes Path > 1.19 +3 -1 src/bin/rmdir/rmdir.c > 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, -- Ruslan Ermilov ru@FreeBSD.org FreeBSD committer [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBnpUQqRfpzJluFF4RAslCAJkBaQreNbrBOBXB+VywwZMFOLcvUQCgnY+B yCv50WyTbes/1T8mQE3ZrEI= =RHKc -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041120005128.GB20543>
