cvs commit: src/lib/libc/stdlib strtoimax.c strtol.c strtoll.c
strtoul.c strtoull.c strtoumax.c
Andrey A. Chernov
ache at FreeBSD.org
Sun Jul 3 01:06:59 GMT 2005
ache 2005-01-21 00:42:13 UTC
FreeBSD src repository
Modified files:
lib/libc/stdlib strtoimax.c strtol.c strtoll.c strtoul.c
strtoull.c strtoumax.c
Log:
POSIX says that 0[xX] prefix is _optional_ even in base 16 case, make it
really so.
"If the value of base is 16, the characters 0x or 0X may optionally
precede the sequence of letters and digits, following the sign if
present."
Found by: joerg
Revision Changes Path
1.10 +5 -1 src/lib/libc/stdlib/strtoimax.c
1.18 +5 -1 src/lib/libc/stdlib/strtol.c
1.20 +5 -1 src/lib/libc/stdlib/strtoll.c
1.17 +5 -1 src/lib/libc/stdlib/strtoul.c
1.19 +5 -1 src/lib/libc/stdlib/strtoull.c
1.9 +5 -1 src/lib/libc/stdlib/strtoumax.c
More information about the cvs-src
mailing list