Changeset 4249


Ignore:
Timestamp:
Jan 13, 2010, 12:53:38 AM (8 years ago)
Author:
Sam Hocevar
Message:

Fix the FreeBSD port by not fuzzing the srget() output unless it's called
directly.

File:
1 edited

Legend:

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

    r4248 r4249  
    964964        LOADSYM(myrefill); \
    965965        fd = fileno(fp); \
    966         if(!_zz_ready || !_zz_iswatched(fd) || !_zz_isactive(fd)) \
     966        if(!_zz_ready || !_zz_iswatched(fd) || !_zz_isactive(fd) \
     967             || _zz_islocked(fd)) \
    967968            return ORIG(myrefill)(fp); \
    968969        debug_stream("before", fp); \
Note: See TracChangeset for help on using the changeset viewer.