Commit d2c28fab authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

Fix a minor issue with loading zlib DLL on MS-Windows.

 src/decompress.c (Fzlib_available_p) [WINDOWSNT]: Update the value
 of zlib_initialized according to the results of calling
 init_zlib_functions.
parent ad6643fe
2013-08-17 Eli Zaretskii <eliz@gnu.org>
* decompress.c (Fzlib_available_p) [WINDOWSNT]: Update the value
of zlib_initialized according to the results of calling
init_zlib_functions.
2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org> 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
* image.c: Implement an ImageMagick per-image cache. * image.c: Implement an ImageMagick per-image cache.
......
...@@ -116,7 +116,8 @@ DEFUN ("zlib-available-p", Fzlib_available_p, Szlib_available_p, 0, 0, 0, ...@@ -116,7 +116,8 @@ DEFUN ("zlib-available-p", Fzlib_available_p, Szlib_available_p, 0, 0, 0,
else else
{ {
Lisp_Object status; Lisp_Object status;
status = init_zlib_functions () ? Qt : Qnil; zlib_initialized = init_zlib_functions ();
status = zlib_initialized ? Qt : Qnil;
Vlibrary_cache = Fcons (Fcons (Qzlib_dll, status), Vlibrary_cache); Vlibrary_cache = Fcons (Fcons (Qzlib_dll, status), Vlibrary_cache);
return status; return status;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment