NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/58440: typo in comment in /usr.bin/printf.c



>Number:         58440
>Category:       bin
>Synopsis:       typo in comment in /usr.bin/printf.c
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 18 11:15:00 +0000 2024
>Originator:     Emanuele Torre
>Release:        NetBSD: printf.c,v 1.52.2.1 2021/05/31 22:15:25 cjep
>Organization:
>Environment:
>Description:
At line 147-150 there is getoot() instead of getopts() in a comment.
>How-To-Repeat:
/*
 * printf does not comply with Posix XBD 12.2 - there are no opts,
 * not even the -- end of options marker.   Do not run getoot().
 */

>Fix:
/*
 * printf does not comply with Posix XBD 12.2 - there are no opts,
 * not even the -- end of options marker.   Do not run getopt().
 */



Home | Main Index | Thread Index | Old Index