From 4aa82d95fbbbdfb459fed90778296f0c58c54b3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20W=2E=20Urba=C5=84czyk?= Date: Wed, 6 Jun 2007 16:14:04 +0000 Subject: [PATCH] =?UTF-8?q?=C5=9Amie=C4=87=20po=20eksperymentach=20z=20def?= =?UTF-8?q?late.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- inde.cpp | 47 ----------------------------------------------- 1 file changed, 47 deletions(-) delete mode 100644 inde.cpp diff --git a/inde.cpp b/inde.cpp deleted file mode 100644 index 5387a1811..000000000 --- a/inde.cpp +++ /dev/null @@ -1,47 +0,0 @@ -/* zpipe.c: example of proper use of zlib's inflate() and deflate() - Not copyrighted -- provided to the public domain - Version 1.4 11 December 2005 Mark Adler */ - -/* Version history: - 1.0 30 Oct 2004 First version - 1.1 8 Nov 2004 Add void casting for unused return values - Use switch statement for inflate() return values - 1.2 9 Nov 2004 Add assertions to document zlib guarantees - 1.3 6 Apr 2005 Remove incorrect assertion in inf() - 1.4 11 Dec 2005 Add hack to avoid MSDOS end-of-line conversions - Avoid some compiler warnings for input and output buffers - */ - - -#include "stdafx.h" -/* compress or decompress from stdin to stdout */ -//int main(int argc, char **argv) -//{ -// int ret; -// -// /* avoid end-of-line conversions */ -// SET_BINARY_MODE(stdin); -// SET_BINARY_MODE(stdout); -// -// /* do compression if no arguments */ -// if (argc == 1) { -// ret = def(stdin, stdout, Z_DEFAULT_COMPRESSION); -// if (ret != Z_OK) -// zerr(ret); -// return ret; -// } -// -// /* do decompression if -d specified */ -// else if (argc == 2 && strcmp(argv[1], "-d") == 0) { -// ret = inf(stdin, stdout); -// if (ret != Z_OK) -// zerr(ret); -// return ret; -// } -// -// /* otherwise, report usage */ -// else { -// fputs("zpipe usage: zpipe [-d] < source > dest\n", stderr); -// return 1; -// } -//}