aboutsummaryrefslogtreecommitdiff
path: root/src/file.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2008-10-02 17:02:36 +0000
committerMike Buland <eichlan@xagasoft.com>2008-10-02 17:02:36 +0000
commit322b785e7a686ea72f7c89e6ad9529a547c62eed (patch)
treec7596ed2b8a249fe3cac62bda32aa12f30aeca47 /src/file.cpp
parent7ae633f8a997997524cded2d205d14eeb5f08051 (diff)
downloadlibbu++-322b785e7a686ea72f7c89e6ad9529a547c62eed.tar.gz
libbu++-322b785e7a686ea72f7c89e6ad9529a547c62eed.tar.bz2
libbu++-322b785e7a686ea72f7c89e6ad9529a547c62eed.tar.xz
libbu++-322b785e7a686ea72f7c89e6ad9529a547c62eed.zip
More changes to File...turns out tempFile always opens the file for reading and
writing...so...what more do you need? It was ignoring the open flags you gave it anyway.
Diffstat (limited to 'src/file.cpp')
-rw-r--r--src/file.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file.cpp b/src/file.cpp
index 417c445..9c8ae90 100644
--- a/src/file.cpp
+++ b/src/file.cpp
@@ -151,7 +151,7 @@ void Bu::File::setBlocking( bool bBlocking )
151} 151}
152 152
153#ifndef WIN32 153#ifndef WIN32
154Bu::File Bu::File::tempFile( Bu::FString &sName, int /*iFlags*/ ) 154Bu::File Bu::File::tempFile( Bu::FString &sName )
155{ 155{
156 int afh_d = mkstemp( sName.getStr() ); 156 int afh_d = mkstemp( sName.getStr() );
157 157