From 322b785e7a686ea72f7c89e6ad9529a547c62eed Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 2 Oct 2008 17:02:36 +0000 Subject: 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. --- src/unit/taf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/unit') diff --git a/src/unit/taf.cpp b/src/unit/taf.cpp index 0a97eba..71bd867 100644 --- a/src/unit/taf.cpp +++ b/src/unit/taf.cpp @@ -29,7 +29,7 @@ public: { #define FN_TMP ("/tmp/tmpXXXXXXXX") Bu::FString sFnTmp(FN_TMP); - Bu::File fOut = Bu::File::tempFile( sFnTmp, Bu::File::Write ); + Bu::File fOut = Bu::File::tempFile( sFnTmp ); const char *data = "{test: name=\"Bob\"}" ; -- cgit v1.2.3