Changeset 1603 for zzuf


Ignore:
Timestamp:
Jan 7, 2007, 3:16:06 PM (13 years ago)
Author:
Sam Hocevar
Message:
  • Fix compilation warnings on BSD libc’s and a bug on FreeBSD.
File:
1 edited

Legend:

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

    r1602 r1603  
    311311{
    312312    char *ret = s;
    313     int i, fd;
     313    int fd;
    314314
    315315    if(!_zz_ready)
     
    331331    else
    332332    {
     333        int i;
     334
    333335        for(i = 0; i < size - 1; i++)
    334336        {
     
    492494    char *ret;
    493495    struct fuzz *fuzz;
     496#if defined HAVE___SREFILL /* Don't fuzz if we have __srefill() */
    494497    size_t i, size;
     498#endif
    495499    int fd;
    496500
     
    534538#endif
    535539
    536     debug("fgetln([%i], &%li) = %p", fd, (long int)*len, fuzz->tmp);
     540    debug("fgetln([%i], &%li) = %p", fd, (long int)*len, ret);
    537541    return ret;
    538542}
Note: See TracChangeset for help on using the changeset viewer.