diff options
author | Ned Deily <nad@acm.org> | 2012-05-11 00:45:49 (GMT) |
---|---|---|
committer | Ned Deily <nad@acm.org> | 2012-05-11 00:45:49 (GMT) |
commit | acdc56d0d0ccea89d219d126c3ca1b9a28456bd5 (patch) | |
tree | dfd3900dbe714784a2f187bb6887255c9894d514 /Modules | |
parent | b79a01f9046ef0659eb9e68811ac0af4af7e16f4 (diff) | |
download | cpython-acdc56d0d0ccea89d219d126c3ca1b9a28456bd5.zip cpython-acdc56d0d0ccea89d219d126c3ca1b9a28456bd5.tar.gz cpython-acdc56d0d0ccea89d219d126c3ca1b9a28456bd5.tar.bz2 |
Issue #14662: Prevent shutil failures on OS X when destination does not
support chflag operations. (Patch by Hynek Schlawack)
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/errnomodule.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/errnomodule.c b/Modules/errnomodule.c index 68c3c49..87ebab0 100644 --- a/Modules/errnomodule.c +++ b/Modules/errnomodule.c @@ -783,6 +783,9 @@ initerrno(void) #ifdef WSAN inscode(d, ds, de, "WSAN", WSAN, "Error WSAN"); #endif +#ifdef ENOTSUP + inscode(d, ds, de, "ENOTSUP", ENOTSUP, "Operation not supported"); +#endif Py_DECREF(de); } |