Bug 65375 - Wrong document return value
Wrong document return value
Product: Red Hat Linux
Classification: Retired
Component: man-pages (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Trond Eivind Glomsrxd
Ben Levenson
Depends On:
  Show dependency treegraph
Reported: 2002-05-22 16:32 EDT by Ulrich Drepper
Modified: 2007-04-18 12:42 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-05-22 16:32:12 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Ulrich Drepper 2002-05-22 16:32:06 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0+) Gecko/20020520

Description of problem:
The iconv(3) man page currently contains:

In case of error, it sets errno and returns (iconv_t)(-1).

This is wrong.  The type of the return value is size_t.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.man 3 iconv

Expected Results:  Change the sentence to

In case of error, it sets errno and returns (size_t)(-1).

Additional info:
Comment 1 Trond Eivind Glomsrxd 2002-06-17 16:09:58 EDT
Fixed in 1.48-3 May 23rd. Note to self: close bugs after fixing them :).

Note You need to log in before you can comment on or make changes to this bug.