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 +- test.taf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; diff --git a/test.taf b/test.taf index f9f6e6a..2c6edcc 100644 --- a/test.taf +++ b/test.taf @@ -1,6 +1,6 @@ {test: {repo: - url = http://svn.xagasoft.com/libbu++ + url = "http://svn.xagasoft.com/libbu++" name = libbu++ } } -- cgit v1.2.3