GNU bug report logs - #20979
../lib/set-permissions.c:288:27: error: 'mode' undeclared

Previous Next

Package: coreutils;

Reported by: John David Anglin <dave.anglin <at> bell.net>

Date: Sat, 4 Jul 2015 15:57:02 UTC

Severity: normal

Tags: fixed

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 20979 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Grünbacher <andreas.gruenbacher <at> gmail.com>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: Gnulib bugs <bug-gnulib <at> gnu.org>, John David Anglin <dave.anglin <at> bell.net>,
 20979 <at> debbugs.gnu.org
Subject: Re: bug#20979: ../lib/set-permissions.c:288:27: error: 'mode'
 undeclared
Date: Sat, 4 Jul 2015 20:53:08 +0200
Paul,

2015-07-04 20:10 GMT+02:00 Paul Eggert <eggert <at> cs.ucla.edu>:
> 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.

thanks for fixing this.

Andreas




This bug report was last modified 6 years and 218 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.