Details

[Home]

Issue of the Standard # S0261

Brief

Contradiction in the description of inflate() function.

Detailed Description

The ‘Description’ section for the function inflate() states that “on success, the inflate() function shall set the adler field of the stream to the Adler-32 checksum of all the input data compressed so far (represented by total_in)”. This information conflicts with the ‘Return Value’ section that states that “on success, inflate() shall set the adler to the Adler-32 checksum of the output produced so far (i.e. total_out bytes)”.

Problem location(s) in the standard

Linux Standard Base Core Specification 3.1, Chapter 14. Utility Libraries, 14.4. Interface Definitions for libz, the description of the <nobr>inflate()</nobr> function.

Accepted

LSB Bugzilla, 1398

Status

Fixed in LSB 3.1 Update 1

[Home]