From: SourceForge.net <no...@so...> - 2006-11-28 16:52:08
|
Bugs item #1554552, was opened at 2006-09-08 03:23 Message generated for change (Comment added) made by earnie You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=1554552&group_id=2435 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: msys Group: Known bugs >Status: Closed >Resolution: Fixed Priority: 9 Private: No Submitted By: yyk (yykav) Assigned to: Earnie Boyd (earnie) Summary: rm -rf directory Initial Comment: win2k, NTFS coreutils-5.97-MSYS-1.0.11-snapshot.tar.bz2 $ mkdir 000 $ rm -rf 000/ rm: cannot remove directory `000/': No such file or directory $ rm -rf 000 rm: cannot remove directory `000': No such file or directory $ ls 000/ $ rmdir.exe 000 $ ls $ Why? Thanks! -- WBR, Yaroslav Kavenchuk. ---------------------------------------------------------------------- >Comment By: Earnie Boyd (earnie) Date: 2006-11-28 11:52 Message: Logged In: YES user_id=15438 Originator: NO Issue resolved. Replaced coreutils-5.97-MSYS-1.0.11-snapshot.tar.bz2 with a current snapshot so download the file again. ---------------------------------------------------------------------- Comment By: Earnie Boyd (earnie) Date: 2006-09-13 16:08 Message: Logged In: YES user_id=15438 Grumble. I've discovered what is going on but it makes me wonder how the code in src/remove.c works on other systems. Perhaps it is because of inode magic. The basic issue is that the last chdir("..") isn't being applied correctly when remove.c descends into the directory. I have a working version of rm but I want to give it a few more shakes before I call it good enough to package into a snapshot. BTW, in the current snapshot ``rm -ri 000'' will work if the directory is empty but ``rm -rf 000' errors. ---------------------------------------------------------------------- Comment By: Earnie Boyd (earnie) Date: 2006-09-08 08:29 Message: Logged In: YES user_id=15438 I have not debugged the reason yet. Once I have all the packages built I will revisit this one. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=1554552&group_id=2435 |