Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-01-01 | Update copyright dates with scripts/update-copyrights. | Joseph Myers | |
2016-01-04 | Update copyright dates with scripts/update-copyrights. | Joseph Myers | |
2015-01-02 | Update copyright dates with scripts/update-copyrights. | Joseph Myers | |
2014-11-12 | Fix locale memmem namespace (bug 17585). | Joseph Myers | |
Locale code, brought in by ISO C functions, calls memmem, which is not an ISO C function. This isn't an ISO C conformance bug, because all mem* names are reserved, but glibc practice is not to rely on that reservation (thus, memmem is only declared in string.h if __USE_GNU even though ISO C would allow it to be declared unconditionally, for example). This patch changes that code to use __memmem. Note: there are uses of memmem elsewhere in glibc that I didn't change, although it may turn out some of those also need to use __memmem. Tested for x86_64 (testsuite, and that disassembly of installed shared libraries is unchanged by this patch). [BZ #17585] * string/memmem.c [!_LIBC] (__memmem): Define to memmem. (memmem): Rename to __memmem and define as weak alias of __memmem. Use libc_hidden_weak. (__memmem): Use libc_hidden_def. * include/string.h (__memmem): Declare. Use libc_hidden_proto. * locale/findlocale.c (valid_locale_name): Use __memmem instead of memmem. | |||
2014-02-10 | Use glibc_likely instead __builtin_expect. | Ondřej Bílka | |
2014-01-01 | Update copyright notices with scripts/update-copyrights | Allan McRae | |
2013-01-02 | Update copyright notices with scripts/update-copyrights. | Joseph Myers | |
2012-10-12 | Avoid PLT references from __get_clockfreq on powerpc | Andreas Schwab | |
2012-02-09 | Replace FSF snail mail address with URLs. | Paul Eggert | |
2008-05-15 | * string/Makefile (distribute): Add str-two-way.h.cvs/fedora-glibc-20080515T0735 | Ulrich Drepper | |
2008-03-29 Eric Blake <ebb9@byu.net> Rewrite string searches to O(n) rather than O(n^2). * string/str-two-way.h: New file. For linear fixed-allocation string searching. * string/memmem.c: New implementation. * string/strstr.c: New implementation. * string/strcasestr.c: New implementation. * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call _res_hconf_init | |||
2005-12-14 | Moved to csu/errno-loc.c. | Ulrich Drepper | |
2004-12-22 | (CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4. | Ulrich Drepper | |
2007-07-12 | 2.5-18.1 | Jakub Jelinek | |