David,
2015-07-05 0:40 GMT+02:00 John David Anglin :
> In this function, "mode" needs to be "ctx->mode" and "entries" needs to be
> "ctx->aclv_entries".
> It then compiles okay.
thanks, I've fixed this in gnulib. Still needs to be pulled into coreutils.
Andreas
We know have:
CC lib/set-permissions.o
../lib/set-permissions.c: In function 'context_aclv_from_mode':
../lib/set-permissions.c:307:34: error: 'mode' undeclared (first use in this
function)
ctx->aclv_entries[0].a_perm = (mode >> 6) & 7;
^
../lib/set-pe
In this function, "mode" needs to be "ctx->mode" and "entries" needs to be
"ctx->aclv_entries".
It then compiles okay.
Dave
On 2015-07-04, at 6:29 PM, John David Anglin wrote:
> We know have:
>
> CC lib/set-permissions.o
> ../lib/set-permissions.c: In function 'context_aclv_from_mode':
When a directory doesn't have an ACL_TYPE_DEFAULT acl, acl_get_file will return
an empty acl, but when trying to set that acl, FreeBSD's acl_set_file will fail
with errno == EINVAL. Instead, FreeBSD expects acl_delete_def_file to be used.
* lib/acl-internal.c (acl_default_nontrivial): Recognize em
2015-06-30 14:32 GMT+02:00 Pádraig Brady :
> FreeBSD 9.1
> mkdir x
> src/cp -a x x.cp
> lchown(0x28417050,0x148d2,0x0,0x8056750,0x,0x28417050) = 0 (0x0)
> __acl_get_file(0xbfbfed96,0x2,0x28418000,0xbfbfe5f0,0x41ed,0x1) ERR#45
> 'Operation not supported'
> madvise(0x28418000,0x1000,
* lib/set-permissions.c (set_acls): Document where support for FreeBSD
ACL_TYPE_NFS4 acls should go.
* lib/get-permissions.c (get_permissions): Likewise.
---
lib/get-permissions.c | 6 ++
lib/set-permissions.c | 9 +
2 files changed, 15 insertions(+)
diff --git a/lib/get-permissions.c
On 05/07/15 21:55, Andreas Grünbacher wrote:
> 2015-06-30 14:32 GMT+02:00 Pádraig Brady :
>> FreeBSD 9.1
>> mkdir x
>> src/cp -a x x.cp
>> lchown(0x28417050,0x148d2,0x0,0x8056750,0x,0x28417050) = 0 (0x0)
>> __acl_get_file(0xbfbfed96,0x2,0x28418000,0xbfbfe5f0,0x41ed,0x1) ERR#45
>> 'Op
[X-posted, replies set to po...@freebsd.org]
Hello,
I have managed to upstream few things needed
to make mono work on FreeBSD without local patches.
Now I am stuck with the iconv detection code.
Mono (or it's dumbled-down glib called eglib) need
libiconv for two things - charset conversion:
h