Bug 525078

Summary: zlib API not LFS compatible
Product: [Fedora] Fedora Reporter: Andreas Schwab <schwab>
Component: zlibAssignee: Ivana Varekova <varekova>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: 11CC: varekova
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-01-29 08:43:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Andreas Schwab 2009-09-23 09:33:48 UTC
The zlib API in <zlib.h> contains a few functions that take or return z_off_t values.  This is incompatible with LFS, where z_off_t (which is defined as off_t) depends on _FILE_OFFSET_BITS.  Either z_off_t must be defined to a fixed type or the API must be extended to cover both _FILE_OFFSET_BITS=32 and _FILE_OFFSET_BITS=64.

Comment 1 Ivana Varekova 2010-01-29 08:43:26 UTC
The problem is fixed in upstream (from 1.2.3.4).