projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67979d4
)
_ctypes: use_errno=True for ctypes.get_errno()
author
Mike Gilbert
<floppym@gentoo.org>
Wed, 11 Sep 2013 14:06:33 +0000
(07:06 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 11 Sep 2013 14:06:33 +0000
(07:06 -0700)
pym/portage/util/_ctypes.py
patch
|
blob
|
history
diff --git
a/pym/portage/util/_ctypes.py
b/pym/portage/util/_ctypes.py
index 4e5aa2a6b3ad4414b10c374325dbd2c7ed5663e5..aeceebcca483208e31cb3bc23f913a29044d222f 100644
(file)
--- a/
pym/portage/util/_ctypes.py
+++ b/
pym/portage/util/_ctypes.py
@@
-41,7
+41,7
@@
def LoadLibrary(name):
handle = _library_handles.get(name)
if handle is None and ctypes is not None:
- handle = ctypes.
cdll.LoadLibrary(nam
e)
+ handle = ctypes.
CDLL(name, use_errno=Tru
e)
_library_handles[name] = handle
return handle