mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-18 21:29:16 +02:00
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:
parent
f15dcf60e6
commit
4a298b0fc6
10
ChangeLog
10
ChangeLog
@ -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>
|
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,
|
||||||
|
@ -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>
|
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,
|
||||||
|
@ -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>
|
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,
|
||||||
|
@ -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>
|
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,
|
||||||
|
@ -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>
|
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,
|
||||||
|
@ -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>
|
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,
|
||||||
|
@ -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>
|
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,
|
||||||
|
@ -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>
|
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,
|
|||||||
* 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,
|
|||||||
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,
|
|||||||
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user