> > Thanks, I've applied the patch except for this: > > > @@ -545,7 +545,7 @@ > > > > /* If we are only interested in the current position we've found it now. */ > > if (mode == 0) > > - return offset; > > + goto resync; > > ftell() should not be required to update the position. > Ok. -- H.J. Lu (hjl@gnu.org)