|
From: | Paul Eggert |
Subject: | Re: bug#20979: ../lib/set-permissions.c:288:27: error: 'mode' undeclared |
Date: | Sat, 04 Jul 2015 11:10:27 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 |
John David Anglin wrote:
The following error occurs building coreutils-8.24 on hppa2.0w-hp-hpux11.11 with gcc-5: CC lib/set-permissions.o../lib/set-permissions.c: In function 'context_acl_from_mode': ../lib/set-permissions.c:288:27: error: 'mode' undeclared (first use in this function) ctx->entries[0].mode = (mode >> 6) & 7;
...Thanks for reporting that. There are some obvious typos in the recent ACL-related patches when compiled on HP-UX. I installed the attached patch into gnulib; can you please give it a try on coreutils 8.24? I don't have access to an HP-UX box to test it myself.
I'll CC: this to Andreas Gruenbacher, the author of the recent patches, to give him a heads-up.
0001-file-has-acl-acl-permissions-fix-HP-UX-typos.patch
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |