Mail Archives: djgpp/1996/02/14/07:23:29
> 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.
- Raw text -