• Home
  • Raw
  • Download

Lines Matching full:zlib

2 # THIS IS AN UNMAINTAINED COPY OF THE ORIGINAL FILE DISTRIBUTED WITH ZLIB 1.2.11
8 Frequently Asked Questions about zlib
11 If your question is not there, please check the zlib home page
12 https://zlib.net/ which may have more recent information.
13 The latest zlib FAQ is at https://zlib.net/zlib_faq.html
16 1. Is zlib Y2K-compliant?
18 Yes. zlib doesn't handle dates.
22 The zlib sources can be compiled without change to produce a DLL. See the
23 file win32/DLL_FAQ.txt in the zlib distribution. Pointers to the
24 precompiled DLL are found in the zlib web site at https://zlib.net/ .
26 3. Where can I get a Visual Basic interface to zlib?
29 * https://marknelson.us/1997/01/01/zlib-engine/
30 * win32/DLL_FAQ.txt in the zlib distribution
48 strm.avail_out returns with zero. See https://zlib.net/zlib_how.html for a
51 6. Where's the zlib documentation (man pages, etc.)?
53 It's in zlib.h . Examples of zlib usage are in the files test/example.c
58 Because we would like to keep zlib as a very small and simple package.
59 zlib is rather portable and doesn't need much configuration.
61 8. I found a bug in zlib.
63 Most of the time, such problems are due to an incorrect usage of zlib.
65 corresponding source to us at zlib@gzip.org . Do not send multi-megabyte
77 10. I need a Delphi interface to zlib.
79 See the contrib/delphi directory in the zlib distribution.
81 11. Can zlib handle .zip archives?
83 Not by itself, no. See the directory contrib/minizip in the zlib
86 12. Can zlib handle .Z files?
99 14. How do I install a shared zlib library on Unix?
105 However, many flavors of Unix come with a shared zlib already installed.
106 Before going to the trouble of compiling a shared version of zlib and
108 can #include <zlib.h>, it's there. The -lz option will probably link to
109 it. You can check the version at the top of zlib.h or with the
110 ZLIB_VERSION symbol defined in zlib.h .
117 16. Can zlib decode Flate data in an Adobe PDF file?
124 After installing zlib 1.1.4 on Solaris 2.6, running applications using zlib
130 The symbol __register_frame_info is not part of zlib, it is generated by
131 the C compiler (cc or gcc). You must recompile applications using zlib
133 http://www.sunfreeware.com/ for Solaris versions of zlib and applications
134 using zlib.
138 The compress and deflate functions produce data in the zlib format, which
140 zlib on the other hand use the gzip format. Both the zlib and gzip formats
147 single file, such as the name and last modification date. The zlib format
154 You can request that deflate write the gzip format instead of the zlib
156 gzip format using inflateInit2(). Read zlib.h for more details.
158 21. Is zlib thread-safe?
160 Yes. However any library routines that zlib uses and any application-
161 provided memory allocation routines must also be thread-safe. zlib's gz*
162 functions use stdio library routines, and most of zlib's functions use the
163 library memory allocation routines by default. zlib's *Init* functions
166 Of course, you should only operate on any given zlib or gzip stream from a
169 22. Can I use zlib in my commercial application?
171 Yes. Please read the license in zlib.h.
173 23. Is zlib under the GNU license?
175 No. Please read the license in zlib.h.
180 You need to change the ZLIB_VERSION and ZLIB_VERNUM #defines in zlib.h. In
183 x.x.x.f are reserved for modifications to zlib by others than the zlib
184 maintainers. For example, if the version of the base zlib you are altering
185 is "1.2.3.4", then in zlib.h you should change ZLIB_VERNUM to 0x123f, and
190 nature of the changes in zlib.h, as well as in ChangeLog and README, along
195 Note that distributing a compiled zlib library along with zlib.h and
198 in zlib.h as you would for a full source distribution.
200 25. Will zlib work on a big-endian or little-endian architecture, and can I
205 26. Will zlib work on a 64-bit machine?
209 difficulties, please provide a complete problem report to zlib@gzip.org
211 27. Will zlib decompress data from the PKWare Data Compression Library?
214 does PKZIP and zlib. However, you can look in zlib's contrib/blast
227 29. Does zlib work on MVS, OS/390, CICS, etc.?
230 were working ports of zlib 1.1.4 to MVS, but those links no longer work.
231 If you know of recent, successful applications of zlib on these operating
237 First off, you should read RFC 1951. Second, yes. Look in zlib's
240 31. Does zlib infringe on any patents?
243 zlib. Look here for some more information:
247 32. Can zlib work with greater than 4 GB of data?
259 zlib is compiled. See the zlibCompileFlags() function in zlib.h.
265 33. Does zlib have any security vulnerabilities?
267 The only one that we are aware of is potentially in gzprintf(). If zlib is
271 will not exceed 8K. On the other hand, if zlib is compiled to use
283 Note that you should be using the most recent version of zlib. Versions
288 34. Is there a Java version of zlib?
290 Probably what you want is to use zlib in Java. zlib is already included
292 a version of zlib written in the Java language, look on the zlib home
293 page for links: https://zlib.net/ .
308 is not affected. This only started showing up recently since zlib 1.2.x
314 37. Will zlib read the (insert any ancient or arcane format here) compressed
320 38. How can I encrypt/decrypt zip files with zlib?
322 zlib doesn't support encryption. The original PKZIP encryption is very
324 encryption, use GnuPG, https://www.gnupg.org/ , which already includes zlib
330 "gzip" is the gzip format, and "deflate" is the zlib format. They should
331 probably have called the second one "zlib" instead to avoid confusion with
333 correctly points to the zlib specification in RFC 1950 for the "deflate"
337 "deflate" transfer encoding using the zlib format would be the more
338 efficient approach (and in fact exactly what the zlib format was designed
344 40. Does zlib support the new "Deflate64" format introduced by PKWare?
351 41. I'm having a problem with the zip functions in zlib, can you help?
353 There are no zip functions in zlib. You are probably using minizip by
354 Giles Vollant, which is found in the contrib directory of zlib. It is not
355 part of zlib. In fact none of the stuff in contrib is part of zlib. The
356 files in there are not supported by the zlib authors. You need to contact
360 Since it's part of zlib, doesn't that mean that all of zlib falls under the
363 No. The files in contrib are not part of zlib. They were contributed by
364 other authors and are provided as a convenience to the user within the zlib
367 43. Is zlib subject to export controls? What is its ECCN?
369 zlib is not subject to export controls, and so is classified as EAR99.