This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: (call-process ...) hangs in emacs

On 08/27/2014 07:47 AM, Corinna Vinschen wrote:

>>> Works for vim.  Does the Emacs configure test only check for POSIX
>>> ACL functions and not for Solaris ACL functions, by any chance?
>> I spoke too soon.  It does detect that Cygwin has certain ACL functions.
>> But the feature that Achim was asking about seems to get used only on
>> systems that have acl_get_file.  I guess that's a POSIX ACL function.
> Yes, it is.  It's pretty much the same as the Solaris/Cygwin function
>   int acl (const char *path, int cmd, int nentries, aclent_t *aclbufp);
> See for
> a description.  We're only supporting the aclent_t type (funny, isn't it?)
> which is pretty much based on POSIX ACLs and which is defined in
> /usr/include/cygwin/acl.h.

Hmm; isn't emacs using gnulib's acl wrappers?  (Paul Eggert would know;
he's the developer that's done the most recent work on Gnulib ACL
support as well as on emacs).  In that case, shouldn't the behavior be
the same as for coreutils, which also uses gnulib?  I'm wondering if
there are any bugs in the gnulib acl wrappers which might affect more
than just emacs, and/or where a cygwin patch would make the gnulib
wrappers happier.  Sadly, I'm also not the best expert on ACLs.

Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library

Attachment: signature.asc
Description: OpenPGP digital signature

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]