summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <uberlord@gentoo.org>2007-09-21 08:49:43 +0000
committerRoy Marples <uberlord@gentoo.org>2007-09-21 08:49:43 +0000
commit80f2b1e46ade993182076ada6c252ed26c999e29 (patch)
tree130770fac1c33514444f9155947f56fc5bcb84ff /ChangeLog
parentHarden startup and shutdown (diff)
downloadbaselayout-80f2b1e46ade993182076ada6c252ed26c999e29.tar.gz
baselayout-80f2b1e46ade993182076ada6c252ed26c999e29.tar.bz2
baselayout-80f2b1e46ade993182076ada6c252ed26c999e29.zip
Use a pty for prefixed output instead of pipes for stdout/stderr. This
is so that programs can get information about the controlling terminal. This change was triggered by bug #188506 where it's possible that stdin, stdout and stderr didn't point to a terminal but ended up on one via our pipes. Using a pty means that stdout and stderr always point to a terminal, but we lose the ability to tell them apart. If there is not a pty available then we use un-prefixed output as normal. This change has also introduced the need for a signal pipe so that SIGCHLD can exit the loop cleanly. svn path=/trunk/; revision=2904
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog12
1 files changed, 12 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 1b4307ec..6ff533f3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,18 @@
# ChangeLog for Gentoo System Intialization ("rc") scripts
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPLv2
+ 21 Sep 2007; Roy Marples <uberlord@gentoo.org>:
+
+ Use a pty for prefixed output instead of pipes for stdout/stderr. This
+ is so that programs can get information about the controlling terminal.
+ This change was triggered by bug #188506 where it's possible that
+ stdin, stdout and stderr didn't point to a terminal but ended up on one
+ via our pipes. Using a pty means that stdout and stderr always point to
+ a terminal, but we lose the ability to tell them apart.
+ If there is not a pty available then we use un-prefixed output as normal.
+ This change has also introduced the need for a signal pipe so that
+ SIGCHLD can exit the loop cleanly.
+
20 Sep 2007; Roy Marples <uberlord@gentoo.org>:
libeinfo now works out the number of columns from stdout rather than