mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-14 19:55:12 +01:00
Fixup for test case in previous commit.
2008-08-28 Ryan Lortie <desrt@desrt.ca> Fixup for test case in previous commit. * glib/tests/strfuncs.c: don't fail if we can't open the test data. This happens if $(builddir) != $(srcdir) (like when doing 'make distcheck'). Quick workaround for now until #549783 can be fixed. svn path=/trunk/; revision=7415
This commit is contained in:
parent
2cf0f4853a
commit
2edf928499
10
ChangeLog
10
ChangeLog
@ -1,6 +1,14 @@
|
||||
2008-08-28 Ryan Lortie <desrt@desrt.ca>
|
||||
|
||||
[REVERT] Bug 548612 – g_strstr_len() should use memmem when available
|
||||
Fixup for test case in previous commit.
|
||||
|
||||
* glib/tests/strfuncs.c: don't fail if we can't open the test data.
|
||||
This happens if $(builddir) != $(srcdir) (like when doing 'make
|
||||
distcheck'). Quick workaround for now until #549783 can be fixed.
|
||||
|
||||
2008-08-28 Ryan Lortie <desrt@desrt.ca>
|
||||
|
||||
Bug 548612 – g_strstr_len() should use memmem when available
|
||||
|
||||
* glib/gstrfuncs.c (g_strstr_len): fix off-by-one memory access error
|
||||
* glib/tests/strfuncs.c (test_bounds): add some new test cases that
|
||||
|
@ -1062,6 +1062,11 @@ test_bounds (void)
|
||||
* side.
|
||||
*/
|
||||
before = g_mapped_file_new ("4096-random-bytes", TRUE, NULL);
|
||||
|
||||
/* quick workaround until #549783 can be fixed */
|
||||
if (before == NULL)
|
||||
return;
|
||||
|
||||
file = g_mapped_file_new ("4096-random-bytes", TRUE, NULL);
|
||||
after = g_mapped_file_new ("4096-random-bytes", TRUE, NULL);
|
||||
g_mapped_file_free (before);
|
||||
|
Loading…
x
Reference in New Issue
Block a user