changed from non-blocking to blocking

This commit is contained in:
darkeye 2000-11-10 20:10:46 +00:00
parent 7af20882bb
commit 18b51a29ce
1 changed files with 4 additions and 2 deletions

View File

@ -114,8 +114,7 @@ PipeSink :: open ( void ) throw ( Exception )
return false; return false;
} }
if ( (fileDescriptor = ::open( getFileName(), if ( (fileDescriptor = ::open( getFileName(), O_WRONLY, 0)) == -1 ) {
O_WRONLY | O_NONBLOCK)) == -1 ) {
fileDescriptor = 0; fileDescriptor = 0;
return false; return false;
} }
@ -130,6 +129,9 @@ PipeSink :: open ( void ) throw ( Exception )
$Source$ $Source$
$Log$ $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 Revision 1.2 2000/11/05 14:08:28 darkeye
changed builting to an automake / autoconf environment changed builting to an automake / autoconf environment