aboutsummaryrefslogtreecommitdiffhomepage
path: root/fish_pager.cpp
diff options
context:
space:
mode:
authorGravatar Peter Ammon <corydoras@ridiculousfish.com>2012-03-02 00:27:40 -0800
committerGravatar Peter Ammon <corydoras@ridiculousfish.com>2012-03-02 00:27:40 -0800
commit8b26d0104c1d85c271e5ce6e08bfe64a779beba7 (patch)
tree995568526f190084fd12d74bc6dcd0e828b1018a /fish_pager.cpp
parent36622c35781c3212c2102c45781a496f3e1b3659 (diff)
Some initial changes to use CLO_EXEC, with an eye towards some day using it correctly.
Diffstat (limited to 'fish_pager.cpp')
-rw-r--r--fish_pager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/fish_pager.cpp b/fish_pager.cpp
index 08577c61..a5f22b96 100644
--- a/fish_pager.cpp
+++ b/fish_pager.cpp
@@ -1006,6 +1006,7 @@ static void init( int mangle_descriptors, int out )
close(1);
close(0);
+ /* OK to not use CLO_EXEC here because fish_pager is single threaded */
if( (in = open( ttyname(2), O_RDWR )) != -1 )
{
if( dup2( 2, 1 ) == -1 )