pkgsrc-ng/lang/python27/patches/patch-zz-minix-c
2016-01-22 00:05:49 +01:00

13 lines
488 B
Plaintext

--- Modules/posixmodule.c.orig Fri Apr 18 18:53:21 2014
+++ Modules/posixmodule.c Fri Apr 18 18:53:52 2014
@@ -2098,7 +2098,8 @@ Return a string representing the current working direc
#if (defined(__sun) && defined(__SVR4)) || \
defined(__OpenBSD__) || \
- defined(__NetBSD__)
+ defined(__NetBSD__) || \
+ defined(__minix)
/* Issue 9185: getcwd() returns NULL/ERANGE indefinitely. */
static PyObject *
posix_getcwd(PyObject *self, PyObject *noargs)