qacl: port to MS-Windows port of GNU Emacs
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 7 May 2013 21:21:42 +0000 (14:21 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 7 May 2013 21:22:02 +0000 (14:22 -0700)
* 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>.

ChangeLog
lib/acl-errno-valid.c

index 3275621..eae9d61 100644 (file)
--- 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
index e2999c9..a391d07 100644 (file)
@@ -39,9 +39,13 @@ acl_errno_valid (int errnum)
     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;
     }