diff options
author | Aki <please@ignore.pl> | 2024-03-02 22:57:02 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2024-03-03 00:59:45 +0100 |
commit | ca18c5b1b5004ffa88b6b3b85cd038d1217c09c6 (patch) | |
tree | 1ba5a8734c96f892322cd65af7cf33041ba4cb68 /contrib/zlib/contrib/iostream/test.cpp | |
parent | e70158ea57302e2fa2d588b67fc8dc18265192eb (diff) | |
download | starshatter-ca18c5b1b5004ffa88b6b3b85cd038d1217c09c6.zip starshatter-ca18c5b1b5004ffa88b6b3b85cd038d1217c09c6.tar.gz starshatter-ca18c5b1b5004ffa88b6b3b85cd038d1217c09c6.tar.bz2 |
zlib sources removed from this tree
This, for whatever reason, breaks std::fs exception handling.
All remaining external projects will be moved to use this approach soon.
This is to prepare it for more new libraries which would otherwise make
the tree grow even further.
Diffstat (limited to 'contrib/zlib/contrib/iostream/test.cpp')
-rw-r--r-- | contrib/zlib/contrib/iostream/test.cpp | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/contrib/zlib/contrib/iostream/test.cpp b/contrib/zlib/contrib/iostream/test.cpp deleted file mode 100644 index 7d265b3..0000000 --- a/contrib/zlib/contrib/iostream/test.cpp +++ /dev/null @@ -1,24 +0,0 @@ - -#include "zfstream.h" - -int main() { - - // Construct a stream object with this filebuffer. Anything sent - // to this stream will go to standard out. - gzofstream os( 1, ios::out ); - - // This text is getting compressed and sent to stdout. - // To prove this, run 'test | zcat'. - os << "Hello, Mommy" << endl; - - os << setcompressionlevel( Z_NO_COMPRESSION ); - os << "hello, hello, hi, ho!" << endl; - - setcompressionlevel( os, Z_DEFAULT_COMPRESSION ) - << "I'm compressing again" << endl; - - os.close(); - - return 0; - -} |