Commit 4a298b0f authored by Havoc Pennington's avatar Havoc Pennington Committed by Havoc Pennington

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
parent f15dcf60
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> 2001-12-13 Matthias Clasen <matthiasc@poet.de>
* glib/gconvert.c, glib/giochannel.c, glib/gmain.c, * glib/gconvert.c, glib/giochannel.c, glib/gmain.c,
......
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> 2001-12-13 Matthias Clasen <matthiasc@poet.de>
* glib/gconvert.c, glib/giochannel.c, glib/gmain.c, * glib/gconvert.c, glib/giochannel.c, glib/gmain.c,
......
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> 2001-12-13 Matthias Clasen <matthiasc@poet.de>
* glib/gconvert.c, glib/giochannel.c, glib/gmain.c, * glib/gconvert.c, glib/giochannel.c, glib/gmain.c,
......
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> 2001-12-13 Matthias Clasen <matthiasc@poet.de>
* glib/gconvert.c, glib/giochannel.c, glib/gmain.c, * glib/gconvert.c, glib/giochannel.c, glib/gmain.c,
......
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> 2001-12-13 Matthias Clasen <matthiasc@poet.de>
* glib/gconvert.c, glib/giochannel.c, glib/gmain.c, * glib/gconvert.c, glib/giochannel.c, glib/gmain.c,
......
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> 2001-12-13 Matthias Clasen <matthiasc@poet.de>
* glib/gconvert.c, glib/giochannel.c, glib/gmain.c, * glib/gconvert.c, glib/giochannel.c, glib/gmain.c,
......
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> 2001-12-13 Matthias Clasen <matthiasc@poet.de>
* glib/gconvert.c, glib/giochannel.c, glib/gmain.c, * glib/gconvert.c, glib/giochannel.c, glib/gmain.c,
......
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> 2001-12-13 Matthias Clasen <matthiasc@poet.de>
* glib/gconvert.c, glib/giochannel.c, glib/gmain.c, * glib/gconvert.c, glib/giochannel.c, glib/gmain.c,
......
...@@ -579,7 +579,7 @@ tokenize_command_line (const gchar *command_line, ...@@ -579,7 +579,7 @@ tokenize_command_line (const gchar *command_line,
* contains none of the unsupported shell expansions. If the input * contains none of the unsupported shell expansions. If the input
* does contain such expansions, they are passed through * does contain such expansions, they are passed through
* literally. Possible errors are those from the #G_SHELL_ERROR * 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 * Return value: TRUE on success, FALSE if error set
**/ **/
......
...@@ -1119,7 +1119,8 @@ fork_exec_with_pipes (gboolean intermediate_child, ...@@ -1119,7 +1119,8 @@ fork_exec_with_pipes (gboolean intermediate_child,
g_set_error (error, g_set_error (error,
G_SPAWN_ERROR, G_SPAWN_ERROR,
exec_err_to_g_error (buf[1]), 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])); g_strerror (buf[1]));
break; break;
...@@ -1145,7 +1146,8 @@ fork_exec_with_pipes (gboolean intermediate_child, ...@@ -1145,7 +1146,8 @@ fork_exec_with_pipes (gboolean intermediate_child,
g_set_error (error, g_set_error (error,
G_SPAWN_ERROR, G_SPAWN_ERROR,
G_SPAWN_ERROR_FAILED, G_SPAWN_ERROR_FAILED,
_("Unknown error executing child process")); _("Unknown error executing child process \"%s\""),
argv[0]);
break; break;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment