diff options
author | Mike Buland <eichlan@xagasoft.com> | 2008-10-02 17:02:36 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2008-10-02 17:02:36 +0000 |
commit | 322b785e7a686ea72f7c89e6ad9529a547c62eed (patch) | |
tree | c7596ed2b8a249fe3cac62bda32aa12f30aeca47 /src/unit/taf.cpp | |
parent | 7ae633f8a997997524cded2d205d14eeb5f08051 (diff) | |
download | libbu++-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 '')
-rw-r--r-- | src/unit/taf.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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: | |||
29 | { | 29 | { |
30 | #define FN_TMP ("/tmp/tmpXXXXXXXX") | 30 | #define FN_TMP ("/tmp/tmpXXXXXXXX") |
31 | Bu::FString sFnTmp(FN_TMP); | 31 | Bu::FString sFnTmp(FN_TMP); |
32 | Bu::File fOut = Bu::File::tempFile( sFnTmp, Bu::File::Write ); | 32 | Bu::File fOut = Bu::File::tempFile( sFnTmp ); |
33 | const char *data = | 33 | const char *data = |
34 | "{test: name=\"Bob\"}" | 34 | "{test: name=\"Bob\"}" |
35 | ; | 35 | ; |