mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-10-06 21:50:05 +02:00
Merge branch 'win32-fd' into 'main'
gio: various unix/fd-related enablement on win32 See merge request GNOME/glib!2656
This commit is contained in:
@@ -419,7 +419,8 @@ test_search_path_heap_allocation (void)
|
||||
if (skip_win32 ())
|
||||
return;
|
||||
|
||||
memset (placeholder, '_', sizeof (placeholder));
|
||||
memset (placeholder, '_', sizeof (placeholder) - 1);
|
||||
placeholder[sizeof (placeholder) - 1] = '\0';
|
||||
/* Force search_path_buffer to be heap-allocated */
|
||||
long_dir = g_test_build_filename (G_TEST_BUILT, "path-test-subdir", placeholder, NULL);
|
||||
long_path = g_strjoin (G_SEARCHPATH_SEPARATOR_S, subdir, long_dir, NULL);
|
||||
|
Reference in New Issue
Block a user