From 48c9c6172b2b493291ee46237148d98f91c23ce9 Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Mon, 29 Jan 2018 17:32:22 +0000 Subject: register both ends of self pipe to libowfat in order to use them --- opentracker.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/opentracker.c b/opentracker.c index 5b9915f..90d3324 100644 --- a/opentracker.c +++ b/opentracker.c @@ -640,6 +640,8 @@ int main( int argc, char **argv ) { panic( "selfpipe failed: " ); if( !io_fd( g_self_pipe[0] ) ) panic( "selfpipe io_fd failed: " ); + if( !io_fd( g_self_pipe[1] ) ) + panic( "selfpipe io_fd failed: " ); io_setcookie( g_self_pipe[0], (void*)FLAG_SELFPIPE ); io_wantread( g_self_pipe[0] ); -- cgit v1.2.3