Fix warnings, catch integer overflow.

Unused variables, missing integer casts (and overflow check).
4 files changed
tree: 8aee5f34ca9d82d81d33a4fdc16fe49e8efa88d5
  1. docs/
  2. examples/
  3. lib/
  4. m4/
  5. man/
  6. regress/
  7. src/
  8. vstudio/
  9. xcode/
  10. .hgignore
  11. .hgtags
  12. .travis.yml
  13. API-CHANGES
  14. AUTHORS
  15. cmake-config.h.in
  16. cmake-zipconf.h.in
  17. CMakeLists.txt
  18. configure.ac
  19. create-cmake-config.h.in.pl
  20. INSTALL
  21. libzip-uninstalled.pc.in
  22. libzip.pc.in
  23. LICENSE
  24. Makefile.am
  25. NEWS.md
  26. README-snapshot.md
  27. README.md
  28. THANKS
  29. TODO.md
README.md

This is libzip, a C library for reading, creating, and modifying zip archives. Files can be added from data buffers, files, or compressed data copied directly from other zip archives. Changes made without closing the archive can be reverted. Decryption of Winzip AES and legacy PKware encrypted files is supported. The API is documented by man pages.

For more information, take a look at the included man pages. You can start with libzip(3), which lists all others. Example source code is in the src/ subdirectory.

If you have developed an application using libzip, you can find out about API changes and how to adapt your code for them in the included file API-CHANGES.

For generic installation instructions, see file INSTALL, which describes the approach using autoconf; alternatively, you can use cmake to build.

Additionally, you'll need zlib (at least version 1.1.2). It comes with most operating systems nowadays, or you can get it at

http://www.zlib.net/

When using a static Windows library, you need to define ZIP_STATIC when compiling packages using libzip.

If you make a binary distribution, please include a pointer to the distribution site:

http://www.nih.at/libzip/

The latest version can always be found there.

There is a mailing list for developers using libzip. You can subscribe to it by sending a mail with the subject “subscribe libzip-discuss” to minimalist at nih.at. List mail should be sent to libzip-discuss at nih.at. Use this for bug reports or questions.

If you want to reach the authors in private, use libzip@nih.at.

Travis Build Status Coverity Status