From: Paul Eggert Date: Tue, 7 May 2013 21:21:42 +0000 (-0700) Subject: qacl: port to MS-Windows port of GNU Emacs X-Git-Tag: v0.1~148 X-Git-Url: http://erislabs.net/gitweb/?p=gnulib.git;a=commitdiff_plain;h=3866d55405c0c0937e2ff487379a941a1b0e8ac9 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 . --- 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; }