1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-27 19:31:38 +00:00

Provide definition of ACL_NOT_WELL_SUPPORTED for MS-Windows.

src/fileio.c (ACL_NOT_WELL_SUPPORTED): Define macro for WINDOWSNT.

Fixes: debbugs:13702
This commit is contained in:
Eli Zaretskii 2013-04-07 19:18:41 +03:00
parent 5406cfd9cd
commit 7d9f6883aa
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2013-04-07 Eli Zaretskii <eliz@gnu.org>
* fileio.c (ACL_NOT_WELL_SUPPORTED): Define macro for WINDOWSNT.
2013-04-07 Romain Francoise <romain@orebokech.com>
Ignore additional platform-specific ACL errors (Bug#13702).

View File

@ -92,6 +92,8 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#elif defined EOPNOTSUPP /* Tru64 NFS */
#define ACL_NOT_WELL_SUPPORTED(Err) \
((Err) == ENOTSUP || (Err) == ENOSYS || (Err) == EINVAL || (Err) == EBUSY || (Err) == EOPNOTSUPP)
#elif defined WINDOWSNT
#define ACL_NOT_WELL_SUPPORTED(Err) ((Err) == ENOTSUP)
#else
#define ACL_NOT_WELL_SUPPORTED(Err) \
((Err) == ENOTSUP || (Err) == ENOSYS || (Err) == EINVAL || (Err) == EBUSY)