[glib/mcatanzaro/posix-spawn2: 28/35] 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: 28/35] gspawn: Improve error message when dup fails
- Date: Wed, 27 Oct 2021 23:15:56 +0000 (UTC)
commit e1632636a79ba0931daece6e401f0697cc5769df
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]