Details

[Home]

Issue of the Implementation # S0844

Brief

gzputc returns the argument instead of the character written

Detailed Description

According to LSB, the gzputc() function shall write the single character c, converted from integer to unsigned character. On success, gzputc() shall return the value written, but it returns initial argument.

Problem location(s) in the standard

Linux Standard Base Core Specification 3.1, Chapter 14. Utility Libraries, 14.4. Interface Definitions for libz, description of gzputc() function.

Component

zlib 1.2.5

Status

Fixed in zlib 1.2.6

[Home]