Date: Wed, 14 Feb 1996 15:11:11 +0300 (MSK) From: "Alexander V. Lukyanov" To: eliz AT is DOT elta DOT co DOT il Subject: Re: v2 + rm -r Cc: djgpp AT delorie DOT com > On Tue, 13 Feb 1996, Alexander V. Lukyanov wrote: > > > I've compiled fileutils with djgpp v2 end encountered some trouble > > in recursively deleting directories. rm says that it detected cycle in > > directory tree. I guess it happens because inode equals to hashing and > > the hashing gives the same numbers for several files. Can this be fixed? > > Or maybe I have to modify rm to disable cycle checking? > > > > I use win95, directories to be deleted are on networked drive. > > This has been reported before, but I had no success in getting the > details. Please help to debug this, because I don't have access to Win95 > yet, and on networked drives under DOS this doesn't happen. That was simpler than I thought: in djgpp the structure dirent does not have member d_ino and thus RM just use 1 as inode for each file. So this is a bug in *fileutils*. They could at least not to check for cycles if dirent does not have d_ino, or use stat to get it.