README
上传用户:zlh9724
上传日期:2007-01-04
资源大小:1991k
文件大小:3k
源码类别:

浏览器

开发平台:

Unix_Linux

  1. zlib 0.95 is a beta version of a general purpose compression library.
  2. This should be the last version before the first official
  3. version (1.0), so please test it now. (At least compile and run it with
  4. "make test"). This version has no known bugs.
  5. The data format used by the zlib library is described in the
  6. files zlib-3.1.doc, deflate-1.1.doc and gzip-4.1.doc, available
  7. in ftp.uu.net:/pub/archiving/zip/doc.
  8. All functions of the compression library are documented in the file
  9. zlib.h. A usage example of the library is given in the file example.c
  10. which also tests that the library is working correctly. Another
  11. example is given in the file minigzip.c.
  12. To compile all files and run the test program, just type: make test
  13. (For MSDOS, use one of the special makefiles such as Makefile.msc;
  14. for VMS, use Make_vms.com or descrip.mms.)
  15. To install the zlib library (libz.a) in /usr/local/lib, type: make install
  16. To install in a different directory, use for example:
  17.   make install prefix=$HOME
  18. This will install in $HOME/lib instead of /usr/local/lib.
  19. The changes made in version 0.95 are documented in the file ChangeLog.
  20. The main changes since 0.94 are:
  21. - fix MSDOS small and medium model (now easier to adapt to any compiler)
  22. - inlined send_bits
  23. - fix the final (:-) bug for deflate with flush (output was correct but
  24.   not completely flushed in rare occasions).
  25. For MSDOS, the small and medium models have been tested only with Microsoft C.
  26. (This should now work for Borland C also, but I don't have a recent Borland
  27. compiler to test with.) The small model was tested with Turbo C but only with
  28. reduced performance to avoid any far allocation; it was tested with
  29.  -DMAX_WBITS=11 -DMAX_MEM_LEVEL=3
  30.  (C) 1995 Jean-loup Gailly and Mark Adler
  31.   This software is provided 'as-is', without any express or implied
  32.   warranty.  In no event will the authors be held liable for any damages
  33.   arising from the use of this software.
  34.   Permission is granted to anyone to use this software for any purpose,
  35.   including commercial applications, and to alter it and redistribute it
  36.   freely, subject to the following restrictions:
  37.   1. The origin of this software must not be misrepresented; you must not
  38.      claim that you wrote the original software. If you use this software
  39.      in a product, an acknowledgment in the product documentation would be
  40.      appreciated but is not required.
  41.   2. Altered source versions must be plainly marked as such, and must not be
  42.      misrepresented as being the original software.
  43.   3. This notice may not be removed or altered from any source distribution.
  44.   Jean-loup Gailly        Mark Adler
  45.   gzip@prep.ai.mit.edu    madler@alumni.caltech.edu
  46. If you use the zlib library in a product, we would appreciate *not*
  47. receiving lengthy legal documents to sign. The sources are provided
  48. for free but without warranty of any kind.  The library has been
  49. entirely written by Jean-loup Gailly and Mark Adler; it does not
  50. include third-party code.
  51. If you redistribute modified sources, we would appreciate that you include
  52. in the file ChangeLog history information documenting your changes.