[gnome-terminal] screen: Change arbitraty constant



commit 8655477c7717fafb505ad990984d9c5ba639b12d
Author: Christian Persch <chpe gnome org>
Date:   Sun Oct 13 23:16:23 2013 +0200

    screen: Change arbitraty constant
    
    Doesn't matter which number we use, but don't use a nonobious choice.

 src/terminal-screen.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/terminal-screen.c b/src/terminal-screen.c
index f3e2f82..0d11c54 100644
--- a/src/terminal-screen.c
+++ b/src/terminal-screen.c
@@ -1220,7 +1220,7 @@ terminal_screen_child_setup (FDSetupData *data)
       for (j = 0; j < n_fds; j++) {
         if (fds[j] == target_fd) {
           do {
-            fd = fcntl (fds[j], F_DUPFD_CLOEXEC, 10);
+            fd = fcntl (fds[j], F_DUPFD_CLOEXEC, 3);
           } while (fd == -1 && errno == EINTR);
           if (fd == -1)
             _exit (127);


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