JuliaLang/julia — pull request #1545 by kmsquire (2012-11-14 16:17:32+00:00)
Title: Updated zlib, gzip to work with system zlib.

* Use 64-bit functions by default if available, otherwise
use 32-bit functions; ZFileOffset type is set accordingly
* Fix race condition in GZip.gzclose
* Export GZip.readall
* Make sure eof is set after read

The main change here is testing for the existence of 64-bit functions, for which `dlsym_e()` is now exported. Please let me know if there is a better way to deal with this.

Thanks,
Kevin