I've got this fixed in NWFS (and it was a royal pain to get this working
correctly), but I agree that GLIB is busted if it does what it's doing.
Some of the other FS's are probably broken too (which is what I
understand from this thread).
Jeff
Manfred Spraul wrote:
>
> From: "Jamie Lokier" <lk@tantalophile.demon.co.uk>
> >
> > Which is unfortunate because the computed LSEEK_CUR appears in Glibc's
> > readdir(). It's a corner case. To remove the LSEEK_CUR, unfortunately
> > you have to use another syscall in the normal case.
> >
> I don't see a problem with LSEEK_CUR, as long as glibc doesn't make any
> assumptions about the number.
>
> If they just substract one offset from another, the there should be no
> problem:
> default_llseek(LSEEK_CUR) adds the current position.
>
> Do they assume that the offset is always ascending, or any other foolish
> ideas?
>
> --
> Manfred
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Fri Apr 07 2000 - 21:00:12 EST