[Python-checkins] cpython: More fixes for the unhappy AMD FreeBSD 9 buildbot. Fingers crossed.

larry.hastings python-checkins at python.org
Tue Aug 5 08:06:26 CEST 2014


http://hg.python.org/cpython/rev/9c057a0567a7
changeset:   92007:9c057a0567a7
user:        Larry Hastings <larry at hastings.org>
date:        Tue Aug 05 16:06:16 2014 +1000
summary:
  More fixes for the unhappy AMD FreeBSD 9 buildbot.  Fingers crossed.

files:
  Modules/posixmodule.c |  4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -3509,7 +3509,7 @@
 {
     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 @@
 {
     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);

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list