Source-Changes archive

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

CVS commit: src



Module Name:    src
Committed By:   joerg
Date:           Wed Aug 20 12:42:26 UTC 2008

Modified Files:
        src/common/lib/libc/stdlib: strtoll.c strtoul.c strtoull.c strtoumax.c
        src/lib/libc/stdlib: Makefile.inc strtoimax.c strtol.c strtoq.c
            strtouq.c
Added Files:
        src/common/lib/libc/stdlib: _strtol.h _strtoul.h
Removed Files:
        src/lib/libc/stdlib: _strtoimax.c _strtoll.c _strtoull.c _strtoumax.c

Log Message:
Unify the implementation of strto{l,ul,ll,ull,imax,umax,q,uq} into one
version for signed and one version for unsigned data types.

Add a check for supported bases and set errno (userland) or panic
(kernel, libsa) otherwise.

Make strto{ll,ull,imax,umax} normal symbols and just keep the underscore
versions as strong alias.

Obtained from DragonFly, based on the wide char version from Citrus.
Reviewed by christos@


To generate a diff of this commit:
cvs rdiff -r0 -r1.1 src/common/lib/libc/stdlib/_strtol.h \
    src/common/lib/libc/stdlib/_strtoul.h
cvs rdiff -r1.2 -r1.3 src/common/lib/libc/stdlib/strtoll.c
cvs rdiff -r1.1 -r1.2 src/common/lib/libc/stdlib/strtoul.c \
    src/common/lib/libc/stdlib/strtoull.c \
    src/common/lib/libc/stdlib/strtoumax.c
cvs rdiff -r1.69 -r1.70 src/lib/libc/stdlib/Makefile.inc
cvs rdiff -r1.4 -r0 src/lib/libc/stdlib/_strtoimax.c \
    src/lib/libc/stdlib/_strtoumax.c
cvs rdiff -r1.5 -r0 src/lib/libc/stdlib/_strtoll.c \
    src/lib/libc/stdlib/_strtoull.c
cvs rdiff -r1.5 -r1.6 src/lib/libc/stdlib/strtoimax.c
cvs rdiff -r1.17 -r1.18 src/lib/libc/stdlib/strtol.c
cvs rdiff -r1.18 -r1.19 src/lib/libc/stdlib/strtoq.c \
    src/lib/libc/stdlib/strtouq.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index