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

@ -1,3 +1,13 @@
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
2001-12-13 Matthias Clasen <matthiasc@poet.de>
* glib/gconvert.c, glib/giochannel.c, glib/gmain.c,

View File

@ -1,3 +1,13 @@
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
2001-12-13 Matthias Clasen <matthiasc@poet.de>
* glib/gconvert.c, glib/giochannel.c, glib/gmain.c,

View File

@ -1,3 +1,13 @@
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
2001-12-13 Matthias Clasen <matthiasc@poet.de>
* glib/gconvert.c, glib/giochannel.c, glib/gmain.c,

View File

@ -1,3 +1,13 @@
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
2001-12-13 Matthias Clasen <matthiasc@poet.de>
* glib/gconvert.c, glib/giochannel.c, glib/gmain.c,

View File

@ -1,3 +1,13 @@
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
2001-12-13 Matthias Clasen <matthiasc@poet.de>
* glib/gconvert.c, glib/giochannel.c, glib/gmain.c,

View File

@ -1,3 +1,13 @@
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
2001-12-13 Matthias Clasen <matthiasc@poet.de>
* glib/gconvert.c, glib/giochannel.c, glib/gmain.c,

View File

@ -1,3 +1,13 @@
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
2001-12-13 Matthias Clasen <matthiasc@poet.de>
* glib/gconvert.c, glib/giochannel.c, glib/gmain.c,

View File

@ -1,3 +1,13 @@
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
2001-12-13 Matthias Clasen <matthiasc@poet.de>
* glib/gconvert.c, glib/giochannel.c, glib/gmain.c,

View File

@ -579,7 +579,7 @@ tokenize_command_line (const gchar *command_line,
* contains none of the unsupported shell expansions. If the input
* does contain such expansions, they are passed through
* literally. Possible errors are those from the #G_SHELL_ERROR
* domain.
* domain. Free the returned vector with g_strfreev().
*
* Return value: TRUE on success, FALSE if error set
**/

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;
}