[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#13702: 24.3.50; dired-do-rename: Mysterious error "(file-error Getti
From: |
Eli Zaretskii |
Subject: |
bug#13702: 24.3.50; dired-do-rename: Mysterious error "(file-error Getting ACL no such file or directory <existing file>)" |
Date: |
Wed, 13 Feb 2013 18:08:04 +0200 |
> From: Romain Francoise <romain@orebokech.com>
> Date: Wed, 13 Feb 2013 10:39:20 +0100
> Cc: 13702@debbugs.gnu.org
>
> --- a/src/fileio.c
> +++ b/src/fileio.c
> @@ -2090,7 +2090,7 @@ entries (depending on how Emacs was built). */)
>
> #ifdef HAVE_POSIX_ACL
> acl = acl_get_fd (ifd);
> - if (acl == NULL && errno != ENOTSUP)
> + if (acl == NULL && errno != ENOTSUP && errno != ENOENT)
> report_file_error ("Getting ACL", Fcons (file, Qnil));
> #endif
> }
Unless other platforms have the same issue, I'd suggest that the
comparison against ENOENT be conditioned on Darwin.