mirror of
https://github.com/novatiq/packages.git
synced 2026-06-23 22:00:26 +01:00
608df65a62
Optionally fixes compilation with uClibc-ng. Based on the surrounding code, this looks like an oversight. Signed-off-by: Rosen Penev <rosenp@gmail.com>
12 lines
358 B
Diff
12 lines
358 B
Diff
--- a/Modules/posixmodule.c
|
|
+++ b/Modules/posixmodule.c
|
|
@@ -3070,7 +3070,7 @@ done:
|
|
if (arg == Py_None) {
|
|
/* optional time values not given */
|
|
Py_BEGIN_ALLOW_THREADS
|
|
- res = utime(path, NULL);
|
|
+ res = utimes(path, NULL);
|
|
Py_END_ALLOW_THREADS
|
|
}
|
|
else if (!PyTuple_Check(arg) || PyTuple_Size(arg) != 2) {
|