]> granicus.if.org Git - python/commitdiff
More fixes for the unhappy AMD FreeBSD 9 buildbot. Fingers crossed.
authorLarry Hastings <larry@hastings.org>
Tue, 5 Aug 2014 06:06:16 +0000 (16:06 +1000)
committerLarry Hastings <larry@hastings.org>
Tue, 5 Aug 2014 06:06:16 +0000 (16:06 +1000)
Modules/posixmodule.c

index 25bfa5ded66a168a800b505c6247fe390b8495a4..d953b5ca65b4a23003c4db15e40752dd44978df2 100644 (file)
@@ -3509,7 +3509,7 @@ os_lchmod_impl(PyModuleDef *module, path_t *path, int mode)
 {
     int res;
     Py_BEGIN_ALLOW_THREADS
-    res = lchmod(path.narrow, i);
+    res = lchmod(path->narrow, mode);
     Py_END_ALLOW_THREADS
     if (res < 0) {
         path_error(path);
@@ -3661,7 +3661,7 @@ os_lchflags_impl(PyModuleDef *module, path_t *path, unsigned long flags)
 {
     int res;
     Py_BEGIN_ALLOW_THREADS
-    res = lchflags(path.narrow, flags);
+    res = lchflags(path->narrow, flags);
     Py_END_ALLOW_THREADS
     if (res < 0) {
         return path_error(path);