Bug 25626 - typo in libc.info
Summary: typo in libc.info
Status: ASSIGNED
Alias: None
Product: glibc
Classification: Unclassified
Component: manual (show other bugs)
Version: 2.31
: P2 minor
Target Milestone: ---
Assignee: Carlos O'Donell
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-03 15:01 UTC by Toomas Rosin
Modified: 2020-03-20 21:16 UTC (History)
3 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed: 2020-03-05 00:00:00


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Toomas Rosin 2020-03-03 15:01:21 UTC
The section "6.1.  Introduction to the Extended Characters" mentions a non-existent function named "wgetc".  It should probably read "getwc".
Comment 1 Carlos O'Donell 2020-03-05 02:27:09 UTC
(In reply to Toomas Rosin from comment #0)
> The section "6.1.  Introduction to the Extended Characters" mentions a
> non-existent function named "wgetc".  It should probably read "getwc".

Agreed. Thank you!

Posted patch here:
https://www.sourceware.org/ml/libc-alpha/2020-03/msg00091.html
Comment 2 Sourceware Commits 2020-03-20 21:16:49 UTC
The master branch has been updated by Carlos O'Donell <carlos@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=b8de7980c06d97f36cdf4fe0871be7ec8ca58073

commit b8de7980c06d97f36cdf4fe0871be7ec8ca58073
Author: Carlos O'Donell <carlos@redhat.com>
Date:   Wed Mar 4 21:19:36 2020 -0500

    Extended Char Intro: Use getwc in example (Bug 25626)
    
    In the "Extended Char Intro" the example incorrectly uses a function
    called wgetc which doesn't exist.  The example is corrected to use
    getwc, which is correct for the use in this case.
    
    Reported-by: Toomas Rosin <toomas@rosin.ee>