changeset 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 e33e6edcd3a1
children f0016636cc75
files ChangeLog lib/acl-errno-valid.c
diffstat 2 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2013-05-07  Paul Eggert  <eggert@cs.ucla.edu>
+
+	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>.
+
 2013-05-07  Mike Frysinger  <vapier@gentoo.org>
 
 	acl: include quote.h
--- 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;
     }