about summary refs log tree commit diff
path: root/sysdeps/generic/strtol.c
Commit message (Collapse)AuthorAgeFilesLines
* Update.Ulrich Drepper2001-08-191-10/+6
| | | | | * sysdeps/generic/strtol.c: Little optimizations. Add some __builtin_expect.
* Update to LGPL v2.1.Andreas Jaeger2001-07-061-8/+8
| | | | | | | | | | | | | | 2001-07-06 Paul Eggert <eggert@twinsun.com> * manual/argp.texi: Remove ignored LGPL copyright notice; it's not appropriate for documentation anyway. * manual/libc-texinfo.sh: "Library General Public License" -> "Lesser General Public License". 2001-07-06 Andreas Jaeger <aj@suse.de> * All files under GPL/LGPL version 2: Place under LGPL version 2.1.
* Update.Andreas Jaeger2001-01-261-0/+1
| | | | | | | | * string/strcoll.c: Likewise. * string/strxfrm.c: Likewise. * wctype/wcfuncs_l.c: Likewise. * wctype/wctype_l.c: Likewise. * wctype/wctrans_l.c: Likewise.
* Update.Andreas Jaeger2001-01-021-2/+2
| | | | | | | | | | | | | | | | | * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro. (_IO_switch_to_wget_mode): Likewise. (_IO_sputbackwc): Likewise. (_IO_sungetwc): Use wint_t for result. * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done. * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct signedness. * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked to (int) to avoid warnings. * stdio-common/printf_fp.c (putc): Likewise. * stdio-common/printf_size.c (putc): Likewise.
* Update.Ulrich Drepper2000-07-281-5/+57
| | | | | | | | | | | | | | | | | | 2000-07-27 Jakub Jelinek <jakub@redhat.com> * locale/indigits.h (indigit_value): Correct. * locale/indigitswc.h (indigitwc_value): Correct. * stdio-common/vfscanf.c (__vfscanf): Fix I18N number conversion, add GROUP checking for it, fix GROUP number conversion with strlen(thousands) > 1. Honour width correctly in the presence of floating decimal points and thousands separators. * stdio-common/tst-sscanf.c: New test. * stdio-common/Makefile: Add it to tests. * sysdeps/generic/strtol.c (strtol): Fix conversion if there are thousands separators and group argument is non-zero. Reported by Andi Kleen <ak@suse.de>.
* Update.Ulrich Drepper2000-06-291-15/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-06-29 Ulrich Drepper <drepper@redhat.com> * stdlib/grouping.h: Correctly handle multibyte thousands separator and decimal point. * stdlib/stdtod.c: Likewise. * sysdeps/generic/strtol.c: Likewise. * locale/categories.def: Add entries for wide character decimal point and thousands separator in numeric and monetary category. 2000-06-28 Ulrich Drepper <drepper@redhat.com> * stdio-common/printf_fp.c (__printf_fp): Remove unnecessary second definition and initialization of decimal. * libio/libio.h (struct _IO_cookie_file): Move struct type defintion out. * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion in. (_IO_JUMPS): Don't cast THIS--expect arg to be a (struct _IO_FILE_plus *). (_IO_iter_next, _IO_iter_file): _IO_ITER is now (struct _IO_FILE_plus *). (_IO_check_libio): Set user-visible handles to (struct _IO_FILE_plus *).
* Update.Ulrich Drepper1999-06-151-10/+7
| | | | | | | | | | 1999-06-14 Geoff Keating <geoffk@ozemail.com.au> * stdlib/tst-strtoll.c: New file. * stdlib/Makefile (tests): Add tst-strtoll.c * stdlib/strtol.c: It is not generally true that if (unsigned)a*(unsigned)b overflows, then the result is less than 'a'.
* Update.Ulrich Drepper1999-05-251-0/+481
1999-05-25 Ulrich Drepper <drepper@cygnus.com> * stdlib/strtol.c: Moved to ... * sysdeps/generic/strtol.c: ...here. * stdlib/strtoul.c: Moved to ... * sysdeps/generic/strtoul.c: ...here. * stdlib/strtoll.c: Moved to ... * sysdeps/generic/strtoll.c: ...here. * stdlib/strtoull.c: Moved to ... * sysdeps/generic/strtoull.c: ...here. * stdlib/strtol_l.c: Moved to ... * sysdeps/generic/strtol_l.c: ...here. * stdlib/strtoul_l.c: Moved to ... * sysdeps/generic/strtoul_l.c: ...here. * stdlib/strtoll_l.c: Moved to ... * sysdeps/generic/strtoll_l.c: ...here. * stdlib/strtoull_l.c: Moved to ... * sysdeps/generic/strtoull_l.c: ...here. * sysdeps/wordexp-64/strtol.c: New file. * sysdeps/wordexp-64/strtoul.c: New file. * sysdeps/wordexp-64/strtoll.c: New file. * sysdeps/wordexp-64/strtoull.c: New file. * sysdeps/wordexp-64/strtol_l.c: New file. * sysdeps/wordexp-64/strtoul_l.c: New file. * sysdeps/wordexp-64/strtoll_l.c: New file. * sysdeps/wordexp-64/strtoull_l.c: New file.