From 3866d55405c0c0937e2ff487379a941a1b0e8ac9 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 7 May 2013 14:21:42 -0700 Subject: [PATCH] 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 . --- ChangeLog | 8 ++++++++ lib/acl-errno-valid.c | 4 ++++ 2 files changed, 12 insertions(+) diff --git a/ChangeLog b/ChangeLog index 32756216a..eae9d619a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2013-05-07 Paul Eggert + + 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 + . + 2013-05-07 Mike Frysinger acl: include quote.h diff --git a/lib/acl-errno-valid.c b/lib/acl-errno-valid.c index e2999c9fc..a391d077f 100644 --- a/lib/acl-errno-valid.c +++ b/lib/acl-errno-valid.c @@ -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; } -- 2.11.0