From 2a8a2d2aed7faaa88e91f54871120f114645382d Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Tue, 14 Jun 2011 15:16:58 +0000 Subject: With any luck, that'll fix the cross-compiling trace code. Now we just need to hope that the formatter code is not going to have the same problem. --- src/tests/bzip2.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/tests') diff --git a/src/tests/bzip2.cpp b/src/tests/bzip2.cpp index 603e937..4de06d2 100644 --- a/src/tests/bzip2.cpp +++ b/src/tests/bzip2.cpp @@ -19,10 +19,10 @@ int main( int argc, char *argv[] ) char buf[1024]; size_t nRead; - Bu::File f( argv[0], Bu::File::Write ); - Bu::BZip2 bz2( f ); - Bu::File fin( argv[1], Bu::File::Read ); + + Bu::File f( argv[2], Bu::File::WriteNew ); + Bu::BZip2 bz2( f ); for(;;) { -- cgit v1.2.3