Changeset 1711 for zzuf/trunk/src


Ignore:
Timestamp:
Jan 25, 2007, 4:28:24 PM (13 years ago)
Author:
Sam Hocevar
Message:
  • Fixed an index inconsistency bug in fread().
File:
1 edited

Legend:

Unmodified
Added
Removed
  • zzuf/trunk/src/lib-stream.c

    r1699 r1711  
    252252     * is then better than nothing. */
    253253    if(newpos <= 0)
    254         newpos = ret * size;
     254    {
     255        pos = _zz_getpos(fd);
     256        newpos = pos + ret * size;
     257    }
    255258    if(newpos != pos)
    256259    {
Note: See TracChangeset for help on using the changeset viewer.