patches

Matthew Dillon dillon at apollo.backplane.com
Sat Sep 4 18:27:29 PDT 2004


:http://virtus.ath.cx/dfbsd/rmdir.c.diff
:Changes:
:* Right now rmdir doesn't work correctly with the -p option, this fixes it
:because it doesn't error out at the first failure but sees if it has empty
:subdirs first, so it can recursively remove all dirs
:
:That's all for now... I hope anyone has time to commit this, they're all
:pretty trivial changes.
:
:Later,
:Douwe

    This patch seems to break rmdir rather then fix it.  You removed the
    initial rmdir(*argv) call which prevents the last component from 
    being removed.  The rm_path() call then fails trying to remove
    the other components.

					-Matt
					Matthew Dillon 
					<dillon at xxxxxxxxxxxxx>





More information about the Submit mailing list