Changeset 2554


Ignore:
Timestamp:
Jul 16, 2008, 11:41:27 PM (12 years ago)
Author:
Sam Hocevar
Message:
  • Another fucked commit... synchronise config.h and lib-stream.c.
File:
1 edited

Legend:

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

    r2553 r2554  
    145145#if defined HAVE_REFILL_STDIO /* Fuzz fp if we have __srefill() */
    146146#   define FOPEN_FUZZ() \
    147     _zz_fuzz(fd, ret->FP_PTR, ret->FP_CNT)
     147    _zz_fuzz(fd, ret->FILE_PTR, ret->FILE_CNT)
    148148#else
    149149#   define FOPEN_FUZZ()
     
    795795    {
    796796        if(newpos != -1)
    797             _zz_setpos(fd, newpos - fp->FP_CNT - 1);
    798         _zz_fuzz(fd, fp->FP_PTR - 1, fp->FP_CNT + 1);
    799         ret = (uint8_t)fp->FP_PTR[-1];
    800         _zz_addpos(fd, fp->FP_CNT + 1);
     797            _zz_setpos(fd, newpos - fp->FILE_CNT - 1);
     798        _zz_fuzz(fd, fp->FILE_PTR - 1, fp->FILE_CNT + 1);
     799        ret = (uint8_t)fp->FILE_PTR[-1];
     800        _zz_addpos(fd, fp->FILE_CNT + 1);
    801801    }
    802802
Note: See TracChangeset for help on using the changeset viewer.