Re: patches

看板DFBSD_submit作者時間21年前 (2004/09/05 17:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串3/3 (看更多)
: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@backplane.com>
文章代碼(AID): #11Ejr300 (DFBSD_submit)
文章代碼(AID): #11Ejr300 (DFBSD_submit)