> > >
> > > SuSV3 only says: "If a file is removed from or added to the
> > > directory after the most recent call to opendir() or
> > > rewinddir(), whether a subsequent call to readdir_r() returns an
> > > entry for that file is unspecified."
> >
> > IOW, the applications in question are broken since they rely on
> > unspecified behaviour, not provided by old libc versions.
>
> No. SuSV3 only says that the behavior of readdir() is unspecified
> w.r.t. an entry for the removed/added file. I think readdir() should
> still return the entries which are not removed/added. What do you
> think?
What 'rm' is this? Mine (coreutils 5.2.1) doesn't do any seeking and
I don't think that glibc does either.
Miklos
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]