Hi when calling wait3 or wait4 in the os module a ctypes error about return types is printed. a quick patch is included bellow to silence the message
--- Da_Blitz diff -r eaba7adf5188 lib_pypy/_pypy_wait.py --- a/lib_pypy/_pypy_wait.py Thu Apr 28 11:46:10 2011 +0200 +++ b/lib_pypy/_pypy_wait.py Tue May 17 22:43:29 2011 +1000 @@ -8,8 +8,10 @@ c_wait3 = libc.wait3 c_wait3.argtypes = [POINTER(c_int), c_int, POINTER(_struct_rusage)] +c_wait3.restype = c_int c_wait4 = libc.wait4 +c_wait4.restype = c_int c_wait4.argtypes = [c_int, POINTER(c_int), c_int, POINTER(_struct_rusage)] _______________________________________________ pypy-dev mailing list [email protected] http://mail.python.org/mailman/listinfo/pypy-dev
