◐ Shell
clean mode source ↗

Message 32449 - Python tracker

Reformatted sample patch:

--- posixmodule.c.orig  2007-07-08 09:43:50.000000000 -0400
+++ posixmodule.c       2007-07-08 09:48:27.000000000 -0400
@@ -1826,9 +1826,9 @@
 posix_chown(PyObject *self, PyObject *args)
 {
        char *path = NULL;
-       int uid, gid;
+       unsigned int uid, gid;
        int res;
-       if (!PyArg_ParseTuple(args, "etii:chown",
+       if (!PyArg_ParseTuple(args, "etII:chown",
                              Py_FileSystemDefaultEncoding, &path,
                              &uid, &gid))
                return NULL;