mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-07 16:38:43 +02:00
Bug 548612 – g_strstr_len() should use memmem when available
2008-08-28 Bastien Nocera <hadess@hadess.net> Bug 548612 – g_strstr_len() should use memmem when available * configure.in: detect whether memmem is available in the C library * glib/gstrfuncs.c (g_strstr_len): use memmem for g_strstr_len() if available in it's available, as it could be optimised by the C library * tests/string-test.c (main): Add a few tests for g_strstr_len() svn path=/trunk/; revision=7407
This commit is contained in:
committed by
Bastien Nocera
parent
32947a3b4a
commit
5e2a6047ea
@@ -1,3 +1,12 @@
|
||||
2008-08-28 Bastien Nocera <hadess@hadess.net>
|
||||
|
||||
Bug 548612 – g_strstr_len() should use memmem when available
|
||||
|
||||
* configure.in: detect whether memmem is available in the C library
|
||||
* glib/gstrfuncs.c (g_strstr_len): use memmem for g_strstr_len() if
|
||||
available in it's available, as it could be optimised by the C library
|
||||
* tests/string-test.c (main): Add a few tests for g_strstr_len()
|
||||
|
||||
2008-08-27 Tor Lillqvist <tml@novell.com>
|
||||
|
||||
* glib/giowin32.c: Stylistic changes. Plug an unlikely memory leak
|
||||
|
Reference in New Issue
Block a user