From 27a11c4e152ba767388ab790a124b6da00d4fc7f Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 2 Oct 2008 21:25:54 +0000 Subject: Ok...now Bu::File doesn't set stupid permissions when it creates a new file... --- src/tests/taf.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tests/taf.cpp') diff --git a/src/tests/taf.cpp b/src/tests/taf.cpp index 859ecfc..45a6430 100644 --- a/src/tests/taf.cpp +++ b/src/tests/taf.cpp @@ -19,7 +19,7 @@ int main( int argc, char *argv[] ) Bu::TafGroup *pGroup = tr.readGroup(); { - Bu::File fo("out.taf", Bu::File::Write ); + Bu::File fo("out.taf", Bu::File::Write|Bu::File::Create ); Bu::TafWriter tw( fo ); tw.writeGroup( pGroup ); } @@ -34,7 +34,7 @@ int main( int argc, char *argv[] ) Bu::TafGroup *pGroup = tr.readGroup(); { - Bu::File fo( argv[2], Bu::File::Write ); + Bu::File fo( argv[2], Bu::File::Write|Bu::File::Create ); Bu::TafWriter tw( fo ); tw.writeGroup( pGroup ); } -- cgit v1.2.3