* libguile/posix.c (start_child): We're closing all fds anyway, no need
to try to close some specific ones beforehand.
---
 libguile/posix.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/libguile/posix.c b/libguile/posix.c
index 155ad09b7..94a043cca 100644
--- a/libguile/posix.c
+++ b/libguile/posix.c
@@ -1363,12 +1363,6 @@ start_child (const char *exec_file, char **exec_argv,
        child.  Return directly in either case.  */
     return pid;
 
-  /* The child.  */
-  if (reading)
-    close (c2p[0]);
-  if (writing)
-    close (p2c[1]);
-
   /* Close all file descriptors in ports inherited from the parent
      except for in, out, and err.  Heavy-handed, but robust.  */
   while (max_fd--)
-- 
2.36.0




  • bug#52835: [PAT... Bug reports for GUILE, GNU's Ubiquitous Extension Language
    • bug#52835:... Bug reports for GUILE, GNU's Ubiquitous Extension Language
    • bug#52835:... Bug reports for GUILE, GNU's Ubiquitous Extension Language
      • bug#52... Bug reports for GUILE, GNU's Ubiquitous Extension Language
    • bug#52835:... Timothy Sample
      • bug#52... Bug reports for GUILE, GNU's Ubiquitous Extension Language
        • bu... Bug reports for GUILE, GNU's Ubiquitous Extension Language
          • ... Bug reports for GUILE, GNU's Ubiquitous Extension Language
            • ... Bug reports for GUILE, GNU's Ubiquitous Extension Language
            • ... Bug reports for GUILE, GNU's Ubiquitous Extension Language
            • ... Bug reports for GUILE, GNU's Ubiquitous Extension Language
            • ... Bug reports for GUILE, GNU's Ubiquitous Extension Language
            • ... Bug reports for GUILE, GNU's Ubiquitous Extension Language
              • ... Bug reports for GUILE, GNU's Ubiquitous Extension Language
              • ... Bug reports for GUILE, GNU's Ubiquitous Extension Language
                • ... Ludovic Courtès
                • ... Bug reports for GUILE, GNU's Ubiquitous Extension Language
                • ... Ludovic Courtès
                • ... Bug reports for GUILE, GNU's Ubiquitous Extension Language
                • ... Bug reports for GUILE, GNU's Ubiquitous Extension Language
                • ... Bug reports for GUILE, GNU's Ubiquitous Extension Language

Reply via email to