note on how to free returned vector

2001-12-14  Havoc Pennington  <hp@pobox.com>

	* glib/gshell.c (g_shell_parse_argv): note on how to free returned
	vector

2001-12-08  Havoc Pennington  <hp@pobox.com>

	* glib/gspawn.c (fork_exec_with_pipes): include argv[0] in error
	message about failure to exec
This commit is contained in:
Havoc Pennington
2001-12-14 16:26:24 +00:00
committed by Havoc Pennington
parent f15dcf60e6
commit 4a298b0fc6
10 changed files with 85 additions and 3 deletions

View File

@@ -1119,7 +1119,8 @@ fork_exec_with_pipes (gboolean intermediate_child,
g_set_error (error,
G_SPAWN_ERROR,
exec_err_to_g_error (buf[1]),
_("Failed to execute child process (%s)"),
_("Failed to execute child process \"%s\" (%s)"),
argv[0],
g_strerror (buf[1]));
break;
@@ -1145,7 +1146,8 @@ fork_exec_with_pipes (gboolean intermediate_child,
g_set_error (error,
G_SPAWN_ERROR,
G_SPAWN_ERROR_FAILED,
_("Unknown error executing child process"));
_("Unknown error executing child process \"%s\""),
argv[0]);
break;
}