diff options
author | Mike Buland <eichlan@xagasoft.com> | 2011-06-14 15:16:58 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2011-06-14 15:16:58 +0000 |
commit | 2a8a2d2aed7faaa88e91f54871120f114645382d (patch) | |
tree | 88c021cb39f7a013b6ab9eba2ab9eeb44e614051 /src/tests | |
parent | 5f2c95f9116f24ecd64b6361b6e22ce983732997 (diff) | |
download | libbu++-2a8a2d2aed7faaa88e91f54871120f114645382d.tar.gz libbu++-2a8a2d2aed7faaa88e91f54871120f114645382d.tar.bz2 libbu++-2a8a2d2aed7faaa88e91f54871120f114645382d.tar.xz libbu++-2a8a2d2aed7faaa88e91f54871120f114645382d.zip |
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.
Diffstat (limited to 'src/tests')
-rw-r--r-- | src/tests/bzip2.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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[] ) | |||
19 | char buf[1024]; | 19 | char buf[1024]; |
20 | size_t nRead; | 20 | size_t nRead; |
21 | 21 | ||
22 | Bu::File f( argv[0], Bu::File::Write ); | ||
23 | Bu::BZip2 bz2( f ); | ||
24 | |||
25 | Bu::File fin( argv[1], Bu::File::Read ); | 22 | Bu::File fin( argv[1], Bu::File::Read ); |
23 | |||
24 | Bu::File f( argv[2], Bu::File::WriteNew ); | ||
25 | Bu::BZip2 bz2( f ); | ||
26 | 26 | ||
27 | for(;;) | 27 | for(;;) |
28 | { | 28 | { |