[glib/mcatanzaro/posix-spawn2: 2/10] 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: 2/10] gspawn: Improve error message when dup fails
- Date: Tue, 14 Dec 2021 19:36:48 +0000 (UTC)
commit 33f15d9dd0d721840c5e132c94174f08f4924fe5
Author: Michael Catanzaro <mcatanzaro redhat com>
Date: Tue Dec 14 13:36:25 2021 -0600
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]