Message77306
This was already corrected by r61540, and will be released with 2.5.3
and 2.6.2.
BUT -- fchown() was not modified. patch is similar to r61540, but I
don't know how to test:
Index: posixmodule.c
===================================================================
--- posixmodule.c (revision 67068)
+++ posixmodule.c (working copy)
@@ -1902,9 +1902,10 @@
static PyObject *
posix_fchown(PyObject *self, PyObject *args)
{
- int fd, uid, gid;
+ int fd;
+ long uid, gid;
int res;
- if (!PyArg_ParseTuple(args, "iii:chown", &fd, &uid, &gid))
+ if (!PyArg_ParseTuple(args, "ill:fchown", &fd, &uid, &gid))
return NULL;
Py_BEGIN_ALLOW_THREADS
res = fchown(fd, (uid_t) uid, (gid_t) gid); |
|
Date |
User |
Action |
Args |
2008-12-08 13:56:37 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, sjoerd |
2008-12-08 13:56:37 | amaury.forgeotdarc | set | messageid: <1228744597.08.0.674440620691.issue4591@psf.upfronthosting.co.za> |
2008-12-08 13:56:35 | amaury.forgeotdarc | link | issue4591 messages |
2008-12-08 13:56:35 | amaury.forgeotdarc | create | |
|