[pypy-commit] cffi default: clarify

arigo noreply at buildbot.pypy.org
Fri May 22 00:11:52 CEST 2015


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r2077:26a4a6fc452d
Date: 2015-05-21 16:28 +0200
http://bitbucket.org/cffi/cffi/changeset/26a4a6fc452d/

Log:	clarify

diff --git a/c/misc_win32.h b/c/misc_win32.h
--- a/c/misc_win32.h
+++ b/c/misc_win32.h
@@ -218,7 +218,7 @@
 
 static int dlclose(void *handle)
 {
-    return !FreeLibrary((HMODULE)handle);
+    return FreeLibrary((HMODULE)handle) ? 0 : -1;
 }
 
 static const char *dlerror(void)


More information about the pypy-commit mailing list