repo: rxvt-unicode-sixel
action: commit
revision: 
path_from: 
revision_from: 9f8c334005237e93bc1cd4928bc126f38e585a5e:
path_to: 
revision_to: 
git.thebackupbox.net
rxvt-unicode-sixel
git clone git://git.thebackupbox.net/rxvt-unicode-sixel
commit 9f8c334005237e93bc1cd4928bc126f38e585a5e
Author: Marc Lehmann 
Date:   Wed Dec 15 02:53:49 2004 +0000

    *** empty log message ***

diff --git a/Changes b/Changes
index fd2722521330819ffb41f1e5533b222ae982874f..
index ..0f002559ad9c4dc26d39d81adde8fa10d450d2e4 100644
--- a/Changes
+++ b/Changes
@@ -22,6 +22,9 @@ FEAT: tabbed windows (hey, just use screen...)
         - do not use XSETROOTPMAP_ID anymore, support ESETROOT_PMAP_ID
           instead.
         - implement underlineColor resource when ENABLE_FRILLS.
+        - iom left it's signal pipe handle open in the child
+          process. Fortunately not security-relevant as the pipe data gets
+          ignored.

 4.5  Mon Dec 13 07:47:16 CET 2004
 	- fix an extremely nasty bug in utf8-conversion. upgrade is advised.
diff --git a/src/iom.C b/src/iom.C
index b81eb5b2a71f37823b034dadc37e8665670a7414..
index ..d2f5f18636648ddab581db1c824dc1c2b8f0c582 100644
--- a/src/iom.C
+++ b/src/iom.C
@@ -125,8 +125,8 @@ static struct init {
         abort ();
       }

-    fcntl (sigpipe[0], F_SETFL, O_NONBLOCK);
-    fcntl (sigpipe[1], F_SETFL, O_NONBLOCK);
+    fcntl (sigpipe[0], F_SETFL, O_NONBLOCK); fcntl (sigpipe[0], F_SETFD, FD_CLOEXEC);
+    fcntl (sigpipe[1], F_SETFL, O_NONBLOCK); fcntl (sigpipe[1], F_SETFD, FD_CLOEXEC);
 #endif

     iom_valid = true;

-----END OF PAGE-----