[vte] spawn: Remove inaccurate comment



commit 216030e3f443c8032c36ac84cb471fbae99b1db6
Author: Christian Persch <chpe src gnome org>
Date:   Fri May 1 20:23:47 2020 +0200

    spawn: Remove inaccurate comment

 src/spawn.cc | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/src/spawn.cc b/src/spawn.cc
index e6bf845b..4f9fd1ab 100644
--- a/src/spawn.cc
+++ b/src/spawn.cc
@@ -346,7 +346,6 @@ SpawnContext::exec(vte::libc::FD& child_report_error_pipe_write) noexcept
                 }
         }
 
-        /* Note: *not* FD_CLOEXEC! */
         auto peer_fd = pty()->get_peer(true /* cloexec */);
         if (peer_fd == -1)
                 return ExecError::GETPTPEER;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]