Details

[Home]

Issue of the Standard # S0277

Brief

Misprint in the description of the gztell() function.

Detailed Description

The ‘Description’ section for the function gztell() states that “gztell() is equivalent to gzseek(file, 0L, SEEK_SET)”. However, such call of gzseek() is equivalent to gzrewind().
While gztell() is equivalent to gzseek(file, 0L, SEEK_ CUR).

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>gztell()</nobr> function.

Possible solutions

Change in ‘Description’ from:
gztell() is equivalent to gzseek(file, 0L, SEEK_SET)
to:
gztell() is equivalent to gzseek(file, 0L, SEEK_ CUR)”.

Accepted

LSB Bugzilla, 1399

Status

Fixed in LSB 3.1 Update 1

[Home]