From 18b51a29ce0d944df59f601cdeb1484bfe0f410a Mon Sep 17 00:00:00 2001 From: darkeye Date: Fri, 10 Nov 2000 20:10:46 +0000 Subject: [PATCH] changed from non-blocking to blocking --- darkice/trunk/src/PipeSink.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/darkice/trunk/src/PipeSink.cpp b/darkice/trunk/src/PipeSink.cpp index ff5f28b..cc5d4d1 100644 --- a/darkice/trunk/src/PipeSink.cpp +++ b/darkice/trunk/src/PipeSink.cpp @@ -114,8 +114,7 @@ PipeSink :: open ( void ) throw ( Exception ) return false; } - if ( (fileDescriptor = ::open( getFileName(), - O_WRONLY | O_NONBLOCK)) == -1 ) { + if ( (fileDescriptor = ::open( getFileName(), O_WRONLY, 0)) == -1 ) { fileDescriptor = 0; return false; } @@ -130,6 +129,9 @@ PipeSink :: open ( void ) throw ( Exception ) $Source$ $Log$ + Revision 1.3 2000/11/10 20:10:46 darkeye + changed from non-blocking to blocking + Revision 1.2 2000/11/05 14:08:28 darkeye changed builting to an automake / autoconf environment