aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/file.cpp2
-rw-r--r--test.taf2
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 )
204 if( (iFlags&NonBlock) ) 204 if( (iFlags&NonBlock) )
205 iRet |= O_NONBLOCK; 205 iRet |= O_NONBLOCK;
206#endif 206#endif
207 if( (iFlags&Exclusive) ) 207 if( (iFlags&Exclusive) == Exclusive )
208 iRet |= O_EXCL; 208 iRet |= O_EXCL;
209 209
210 return iRet; 210 return iRet;
diff --git a/test.taf b/test.taf
index f9f6e6a..2c6edcc 100644
--- a/test.taf
+++ b/test.taf
@@ -1,6 +1,6 @@
1{test: 1{test:
2 {repo: 2 {repo:
3 url = http://svn.xagasoft.com/libbu++ 3 url = "http://svn.xagasoft.com/libbu++"
4 name = libbu++ 4 name = libbu++
5 } 5 }
6} 6}