Commit b1dc112d authored by Larry Hastings's avatar Larry Hastings

More fixes for the unhappy AMD FreeBSD 9 buildbot. Fingers crossed.

parent 548095cd
...@@ -3509,7 +3509,7 @@ os_lchmod_impl(PyModuleDef *module, path_t *path, int mode) ...@@ -3509,7 +3509,7 @@ os_lchmod_impl(PyModuleDef *module, path_t *path, int mode)
{ {
int res; int res;
Py_BEGIN_ALLOW_THREADS Py_BEGIN_ALLOW_THREADS
res = lchmod(path.narrow, i); res = lchmod(path->narrow, mode);
Py_END_ALLOW_THREADS Py_END_ALLOW_THREADS
if (res < 0) { if (res < 0) {
path_error(path); path_error(path);
...@@ -3661,7 +3661,7 @@ os_lchflags_impl(PyModuleDef *module, path_t *path, unsigned long flags) ...@@ -3661,7 +3661,7 @@ os_lchflags_impl(PyModuleDef *module, path_t *path, unsigned long flags)
{ {
int res; int res;
Py_BEGIN_ALLOW_THREADS Py_BEGIN_ALLOW_THREADS
res = lchflags(path.narrow, flags); res = lchflags(path->narrow, flags);
Py_END_ALLOW_THREADS Py_END_ALLOW_THREADS
if (res < 0) { if (res < 0) {
return path_error(path); return path_error(path);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment