aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/file.cpp2
1 files changed, 1 insertions, 1 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;