git: libz: Use off_t instead of long.

Peter Avalos pavalos at crater.dragonflybsd.org
Sat Apr 2 01:04:58 PDT 2011


commit 5a195d4b0a2de9ce5b0e876177be4aefe1644499
Author: Peter Avalos <pavalos at dragonflybsd.org>
Date:   Fri Apr 1 21:43:16 2011 -1000

    libz:  Use off_t instead of long.
    
    This problem was triggered by clamav.  As the comment in zconf.h states,
    we'd prefer to always define Z_HAVE_UNISTD_H, but libstand has some issues
    with this, which is why we originally had the change to the vendor
    source to include <unistd.h> in gzguts.h.
    
    While we're here, there's no point in defining HAVE_MEMCPY in
    Makefile.stand, since it's already defined elsewhere in zconf.h.

Summary of changes:
 contrib/zlib-1.2/gzguts.h |    1 -
 contrib/zlib-1.2/zconf.h  |    4 +++-
 lib/libz/Makefile.stand   |    2 +-
 3 files changed, 4 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5a195d4b0a2de9ce5b0e876177be4aefe1644499


-- 
DragonFly BSD source repository





More information about the Commits mailing list