* strtol.3 man-page bug
@ 2011-01-21 12:10 Ivana Hutarova Varekova
0 siblings, 0 replies; only message in thread
From: Ivana Hutarova Varekova @ 2011-01-21 12:10 UTC (permalink / raw)
To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA
[-- Attachment #1: Type: text/plain, Size: 380 bytes --]
Hello,
there is wrong statement regarding the characters which are parsed in
the input string:
"In locales other than the "C" locale, other strings may also be
accepted. (For example, the thousands separator of the current locale
may be supported.)"
It is not possible to use other strings - see stdlib/strtol_l.c in
glibc. The patch is attached.
Ivana Hutarova Varekova
[-- Attachment #2: man-pages-3.32-strtol.patch --]
[-- Type: text/x-patch, Size: 503 bytes --]
diff -up man-pages-3.32/man3/strtol.3.pom man-pages-3.32/man3/strtol.3
--- man-pages-3.32/man3/strtol.3.pom 2010-12-03 08:02:02.000000000 +0100
+++ man-pages-3.32/man3/strtol.3 2011-01-21 12:55:58.000000000 +0100
@@ -158,9 +158,6 @@ and then determine if an error occurred
.I errno
has a nonzero value after the call.
-In locales other than the "C" locale, other strings may also be accepted.
-(For example, the thousands separator of the current locale may be
-supported.)
.LP
BSD also has
.sp
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-01-21 12:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-21 12:10 strtol.3 man-page bug Ivana Hutarova Varekova
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.