Merge branch 'wip/pwithnall/freebsd-spawn-fix' into 'master'

tests: Add missing NULL terminator to spawn-singlethread test

See merge request GNOME/glib!1955
This commit is contained in:
Emmanuele Bassi
2021-02-16 15:37:05 +00:00

View File

@@ -439,7 +439,7 @@ test_spawn_fd_assignment_clash (void)
const guint n_fds = 10; const guint n_fds = 10;
gint source_fds[n_fds]; gint source_fds[n_fds];
gint target_fds[n_fds]; gint target_fds[n_fds];
const gchar *argv[] = { "/nonexistent" }; const gchar *argv[] = { "/nonexistent", NULL };
gboolean retval; gboolean retval;
GError *local_error = NULL; GError *local_error = NULL;
struct stat statbuf; struct stat statbuf;