aboutsummaryrefslogtreecommitdiff
path: root/src/file.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2008-10-02 21:40:41 +0000
committerMike Buland <eichlan@xagasoft.com>2008-10-02 21:40:41 +0000
commit5883662909051e99093514483c32e2539a3cf850 (patch)
tree3ca9252df15529d243d703a4d2eb9ba70771a2c1 /src/file.cpp
parent27a11c4e152ba767388ab790a124b6da00d4fc7f (diff)
downloadlibbu++-5883662909051e99093514483c32e2539a3cf850.tar.gz
libbu++-5883662909051e99093514483c32e2539a3cf850.tar.bz2
libbu++-5883662909051e99093514483c32e2539a3cf850.tar.xz
libbu++-5883662909051e99093514483c32e2539a3cf850.zip
Really fixed the rest of the file open issues...it was always using exclusive
mode.
Diffstat (limited to '')
-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;