[PATCH 2/2] thread: pacify gcc -Wbad-function-cast

2022-10-30 Thread Paul Eggert
* lib/glthread/thread.h (gl_thread_self_pointer): With POSIX threads, cast the call to gl_thread_t before casting to void *. --- ChangeLog | 4 lib/glthread/thread.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 159bb007ca..634aa

[PATCH 1/2] test-getlogin: pacify gcc -Wshadow

2022-10-30 Thread Paul Eggert
* tests/test-getlogin.h (test_getlogin_result): Rename local. --- ChangeLog | 5 + tests/test-getlogin.h | 10 +- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index f410dbe048..159bb007ca 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1

Re: [PATCH] Basic support for checking NFSv4 ACLs in Linux

2022-10-30 Thread Paul Eggert
On 2022-10-28 07:33, Ondrej Valousek wrote: 2. The 'acl' package (as of today) only supports Posix ACLs and not the NFSv4 style. And besides, we do not use it anyway on modern Linux distros - see the code, instead of calling acl library, we just call getxattr() function directly. Is that the

Re: Avoid gnulib redefinitions - free-posix

2022-10-30 Thread Bruno Haible
[Removing bug-texinfo from the CC.] Gavin Smith wrote: > This avoided looking through all the gnulib code and deciding where > to replace "free" with "gl_internal_free" or whatever the replacement > would be called. Yes, this would not be maintainable. Also because some Gnulib code is shared with