[pypy-svn] pypy default: Use c_int, because it is a fd.
arigo
commits-noreply at bitbucket.org
Fri Jan 21 17:46:21 CET 2011
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r41165:3c84b353995c
Date: 2011-01-21 17:38 +0100
http://bitbucket.org/pypy/pypy/changeset/3c84b353995c/
Log: Use c_int, because it is a fd.
diff --git a/pypy/module/posix/interp_posix.py b/pypy/module/posix/interp_posix.py
--- a/pypy/module/posix/interp_posix.py
+++ b/pypy/module/posix/interp_posix.py
@@ -1070,7 +1070,7 @@
return space.wrap(os.fpathconf(fd, num))
except OSError, e:
raise wrap_oserror(space, e)
-fpathconf.unwrap_spec = [ObjSpace, int, W_Root]
+fpathconf.unwrap_spec = [ObjSpace, 'c_int', W_Root]
def chown(space, path, uid, gid):
try:
More information about the Pypy-commit
mailing list