diff options
author | Mike Buland <eichlan@xagasoft.com> | 2011-10-25 16:04:43 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2011-10-25 16:04:43 +0000 |
commit | 052da60c2c5c4ce80ec0986ea07482348e7aa30a (patch) | |
tree | 32a951ea64de53b8c047d33b1d856fadbbe311fc /default.bld | |
parent | 7c9cf28012f65ce6a67651030b817d7d45eda62b (diff) | |
download | libbu++-052da60c2c5c4ce80ec0986ea07482348e7aa30a.tar.gz libbu++-052da60c2c5c4ce80ec0986ea07482348e7aa30a.tar.bz2 libbu++-052da60c2c5c4ce80ec0986ea07482348e7aa30a.tar.xz libbu++-052da60c2c5c4ce80ec0986ea07482348e7aa30a.zip |
Base64 does line wrapping correctly on write, and also doesn't try to flush the
write buffer when reading is done. It's...strange, but yeah, it was doing that.
Deflate also defaults to zlib compression now, which means you can compress &
decompress without using any extra params. Turns out zlib auto-detect won't
decompress raw streams, so this is the safest overall option, and the easiest
to work with. zlib headers are small, and includes a crc at the end so you can
be sure your data is accurate, raw does not.
Diffstat (limited to 'default.bld')
-rw-r--r-- | default.bld | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/default.bld b/default.bld index 18a2d72..130c1a2 100644 --- a/default.bld +++ b/default.bld | |||
@@ -162,12 +162,12 @@ target files("src/tests/*.cpp").replace("src/","").replace(".cpp","") | |||
162 | 162 | ||
163 | // Some tests need extra libs and whatnot, that goes here. | 163 | // Some tests need extra libs and whatnot, that goes here. |
164 | 164 | ||
165 | target ["tests/bzip2", "tests/streamstack", "tests/enc"] | 165 | target ["tests/bzip2", "tests/streamstack"] |
166 | { | 166 | { |
167 | LDFLAGS += "-lbz2"; | 167 | LDFLAGS += "-lbz2"; |
168 | } | 168 | } |
169 | 169 | ||
170 | target ["tests/deflate"] | 170 | target ["tests/deflate", "tests/enc"] |
171 | { | 171 | { |
172 | LDFLAGS += "-lz"; | 172 | LDFLAGS += "-lz"; |
173 | } | 173 | } |