Mail Archives: djgpp/1994/08/22/22:53:48
in the last episode, Bob Babcock said:
>
> Fseek does seem to be broken in 1.12. I've seen it, and someone else also
> reported it. I'm using the source from 1.11 for now. DJ has posted a
> preliminary 1.12maint1 at omnigate, but I don't _think_ it includes an fseek
> fix (I seem to have deleted the email announcement).
>
Let me confirm this. I haven't looked at the source, but the error seems to
be in the SEEK_CUR portion; if I replace occurances of fseek(fp, off,
SEEK_CUR) with fseek(fp, off+ftell(fp), SEEK_SET) my programs work. I just
pulled out the fseek.o from the 1.11m5 libc.a and stuck it in the 1.12 one,
and the problem disappears. The patch hasn't made it to Simtel yet, so I
haven't tried it.
-Dan
- Raw text -