Message77306
| Author |
amaury.forgeotdarc |
| Recipients |
amaury.forgeotdarc, sjoerd |
| Date |
2008年12月08日.13:56:35 |
| SpamBayes Score |
0.00041926245 |
| Marked as misclassified |
No |
| Message-id |
<1228744597.08.0.674440620691.issue4591@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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); |
|
History
|
|---|
| 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 |
|