diff lib/acl-errno-valid.c @ 17392:27b01cdea44c

qacl: port to MS-Windows port of GNU Emacs * lib/acl-errno-valid.c (acl_errno_valid) [ENOTSUP == ENOSYS]: Omit the duplicate ENOTSUP case. Needed for the MS-Windows port of GNU Emacs. Problem reported by Eli Zaretskii in <http://bugs.gnu.org/14295#14>.
author Paul Eggert <eggert@cs.ucla.edu>
date Tue, 07 May 2013 14:21:42 -0700
parents 915d2ad64b47
children
line wrap: on
line diff
--- a/lib/acl-errno-valid.c
+++ b/lib/acl-errno-valid.c
@@ -39,9 +39,13 @@
     case ENOENT: return false;
 #endif
     case ENOSYS: return false;
+
 #if defined ENOTSUP && ENOTSUP != EOPNOTSUPP
+# if ENOTSUP != ENOSYS /* Needed for the MS-Windows port of GNU Emacs.  */
     case ENOTSUP: return false;
+# endif
 #endif
+
     case EOPNOTSUPP: return false;
     default: return true;
     }