mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-01 02:16:14 +01:00
gspawn: Remove spurious blank lines
This introduces no functional changes. Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
parent
12a627be55
commit
63467c559e
@ -1409,11 +1409,9 @@ do_exec (gint child_err_report_fd,
|
|||||||
CHILD_CHDIR_FAILED);
|
CHILD_CHDIR_FAILED);
|
||||||
|
|
||||||
/* Redirect pipes as required */
|
/* Redirect pipes as required */
|
||||||
|
|
||||||
if (stdin_fd >= 0)
|
if (stdin_fd >= 0)
|
||||||
{
|
{
|
||||||
/* dup2 can't actually fail here I don't think */
|
/* dup2 can't actually fail here I don't think */
|
||||||
|
|
||||||
if (safe_dup2 (stdin_fd, 0) < 0)
|
if (safe_dup2 (stdin_fd, 0) < 0)
|
||||||
write_err_and_exit (child_err_report_fd,
|
write_err_and_exit (child_err_report_fd,
|
||||||
CHILD_DUP2_FAILED);
|
CHILD_DUP2_FAILED);
|
||||||
@ -1434,7 +1432,6 @@ do_exec (gint child_err_report_fd,
|
|||||||
if (stdout_fd >= 0)
|
if (stdout_fd >= 0)
|
||||||
{
|
{
|
||||||
/* dup2 can't actually fail here I don't think */
|
/* dup2 can't actually fail here I don't think */
|
||||||
|
|
||||||
if (safe_dup2 (stdout_fd, 1) < 0)
|
if (safe_dup2 (stdout_fd, 1) < 0)
|
||||||
write_err_and_exit (child_err_report_fd,
|
write_err_and_exit (child_err_report_fd,
|
||||||
CHILD_DUP2_FAILED);
|
CHILD_DUP2_FAILED);
|
||||||
@ -1454,7 +1451,6 @@ do_exec (gint child_err_report_fd,
|
|||||||
if (stderr_fd >= 0)
|
if (stderr_fd >= 0)
|
||||||
{
|
{
|
||||||
/* dup2 can't actually fail here I don't think */
|
/* dup2 can't actually fail here I don't think */
|
||||||
|
|
||||||
if (safe_dup2 (stderr_fd, 2) < 0)
|
if (safe_dup2 (stderr_fd, 2) < 0)
|
||||||
write_err_and_exit (child_err_report_fd,
|
write_err_and_exit (child_err_report_fd,
|
||||||
CHILD_DUP2_FAILED);
|
CHILD_DUP2_FAILED);
|
||||||
|
Loading…
Reference in New Issue
Block a user