DragonFly submit List (threaded) for 2004-09
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: patches
: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@xxxxxxxxxxxxx>
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]