From 5883662909051e99093514483c32e2539a3cf850 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 2 Oct 2008 21:40:41 +0000 Subject: Really fixed the rest of the file open issues...it was always using exclusive mode. --- src/file.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/file.cpp') diff --git a/src/file.cpp b/src/file.cpp index a058e0f..6e9d47e 100644 --- a/src/file.cpp +++ b/src/file.cpp @@ -204,7 +204,7 @@ int Bu::File::getPosixFlags( int iFlags ) if( (iFlags&NonBlock) ) iRet |= O_NONBLOCK; #endif - if( (iFlags&Exclusive) ) + if( (iFlags&Exclusive) == Exclusive ) iRet |= O_EXCL; return iRet; -- cgit v1.2.3