Hi Andreas,

This patch now applies with "git am -3". But it leads to a compilation
error on platforms with libacl < 2.4.0.

How to reproduce:

Use Ubuntu 26.04 with 'libacl1-dev' installed (libacl 2.3.2).
$ ./gnulib-tool --create-testdir --dir=../testdir copy-file
$ cd ../testdir
$ ./configure
$ make -k

I get these errors:

../../gllib/set-permissions.c: In function ‘set_acls’:
../../gllib/set-permissions.c:528:29: error: assignment to ‘int’ from ‘void *’ 
makes integer from pointer without a cast [-Wint-conversion]
  528 |                         ret = acl_set_file_at (desc, "", AT_EMPTY_PATH,
      |                             ^
../../gllib/set-permissions.c:538:29: error: assignment to ‘int’ from ‘void *’ 
makes integer from pointer without a cast [-Wint-conversion]
  538 |                         ret = acl_delete_def_file_at (desc, "", 
AT_EMPTY_PATH);
      |                             ^
make[4]: *** [Makefile:2823: set-permissions.o] Error 1

Bruno




Reply via email to