2010/5/13 Luca Bigliardi <[email protected]>:
> --- a/lib/utils.py
> +++ b/lib/utils.py
> +def Mlockall():
> […]
> +  # set __errno_location type to int*
> +  libc.__errno_location.restype = ctypes.POINTER(ctypes.c_int)

Well, yes, I can read that, but why? Your comment is almost equivalent
to commenting “setting A to 123” for “a = 123”. I don't understand why
you're setting the errno type, which seems totally unrelated to
mlockall().

Michael

Reply via email to