Re: [PATCH 2/2] file-has-acl: no need for struct stat

2024-10-06 Thread Bruno Haible
The CI reports 3 new test failures on Cygwin. The last CI build at 2024-10-02 07:00 GMT was green. This commit must be the regression's cause. FAIL: test-file-has-acl.sh == file_has_aclinfo failed for "tmpfile0" file_has_acl("tmpfile0") returned , expected no FAIL test-fil

javacomp, javaversion: Fix resource leak

2024-10-06 Thread Bruno Haible
This patch improves the error handling in the javacomp, javaversion modules: - When fdopen() fails, we can assume that it is because of out-of-memory and terminate the process, like xalloc_die() does. - In the case of other failures, proper cleanup is needed. 2024-10-06 Bruno Haible