From 2502ae4a544e05a10e1fb1e58809f5069fccfb2a Mon Sep 17 00:00:00 2001 From: root Date: Wed, 15 Dec 2004 02:53:49 +0000 Subject: [PATCH] *** empty log message *** --- Changes | 3 +++ src/iom.C | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Changes b/Changes index fd27225..0f00255 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 b81eb5b..d2f5f18 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; -- 1.9.1