[glib/mcatanzaro/posix-spawn2: 4/12] gspawn: Improve error message when dup fails
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/mcatanzaro/posix-spawn2: 4/12] gspawn: Improve error message when dup fails
- Date: Thu, 28 Oct 2021 00:40:41 +0000 (UTC)
commit b0a9af6102a09ee90bab909968d7f84808905f18
Author: Michael Catanzaro <mcatanzaro redhat com>
Date: Thu Oct 14 10:43:52 2021 -0500
gspawn: Improve error message when dup fails
This error message is no longer accurate now that we allow arbitrary fd
remapping.
glib/gspawn.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/glib/gspawn.c b/glib/gspawn.c
index 2b191634c..9c65d9d92 100644
--- a/glib/gspawn.c
+++ b/glib/gspawn.c
@@ -2451,7 +2451,7 @@ fork_exec (gboolean intermediate_child,
g_set_error (error,
G_SPAWN_ERROR,
G_SPAWN_ERROR_FAILED,
- _("Failed to redirect output or input of child process (%s)"),
+ _("Failed to duplicate file descriptor for child process (%s)"),
g_strerror (buf[1]));
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]