aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid <david@xagasoft.com>2009-05-04 21:40:14 +0000
committerDavid <david@xagasoft.com>2009-05-04 21:40:14 +0000
commitc1d2ae38f8dd16c1c931c5626f12ce9bef8e07c8 (patch)
treeaa488f675f49aedd7480e9e3a09f8f5ac81ee181 /src
parentf6def73465c162beb08a033cac8287bc49484d1d (diff)
downloadlibbu++-c1d2ae38f8dd16c1c931c5626f12ce9bef8e07c8.tar.gz
libbu++-c1d2ae38f8dd16c1c931c5626f12ce9bef8e07c8.tar.bz2
libbu++-c1d2ae38f8dd16c1c931c5626f12ce9bef8e07c8.tar.xz
libbu++-c1d2ae38f8dd16c1c931c5626f12ce9bef8e07c8.zip
david - got bzip2 building for windows... also added default O_BINARY on Bu::File
Diffstat (limited to 'src')
-rw-r--r--src/file.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/file.cpp b/src/file.cpp
index aa0ea32..4776217 100644
--- a/src/file.cpp
+++ b/src/file.cpp
@@ -227,6 +227,8 @@ int Bu::File::getPosixFlags( int iFlags )
227 if( (iFlags&Exclusive) == Exclusive ) 227 if( (iFlags&Exclusive) == Exclusive )
228 iRet |= O_EXCL; 228 iRet |= O_EXCL;
229 229
230 iRet |= O_BINARY;
231
230 return iRet; 232 return iRet;
231} 233}
232 234