Re: [PATCH] mountlist: recognize more file system types as remote

2020-11-03 Thread Kamil Dudka
On Tuesday, October 27, 2020 10:23:15 PM CET Pádraig Brady wrote: > Sync "remote" file systems from stat.c in coreutils. > Note we only consider file systems that do not use host:resource > mount source. I.e. those that don't generally use a colon when > mounting, as that case is already considere

Re: [PATCH] mountlist: recognize more file system types as remote

2020-11-03 Thread Pádraig Brady
On 03/11/2020 08:31, Kamil Dudka wrote: On Tuesday, October 27, 2020 10:23:15 PM CET Pádraig Brady wrote: Sync "remote" file systems from stat.c in coreutils. Note we only consider file systems that do not use host:resource mount source. I.e. those that don't generally use a colon when mounting

Re: test-verify.c: avoid -Wmissing-declarations warnings

2020-11-03 Thread Bruno Haible
Hi Bernhard, > > Should be fixed with the attached patch This was untested, was it? Because in a gnulib testdir, 'test-verify' now crashes immediately. The reason is that the compiler eliminated the entire code of the main() function, because it was told that it is on a dead branch: state s = {

Re: test-verify.c: avoid -Wmissing-declarations warnings

2020-11-03 Thread Bernhard Voelker
On 11/3/20 5:20 PM, Bruno Haible wrote: > This was untested, was it? No, it worked here on a gcc-10.2.1 and I'm sure I also tested on something like gcc-7.x, but as I wrote I couldn't find a gcc-5.x installation. Sorry for the inconveniences. Have a nice day, Berny

Re: test-verify.c: avoid -Wmissing-declarations warnings

2020-11-03 Thread Bruno Haible
Bernhard Voelker wrote: > No, it worked here on a gcc-10.2.1 Indeed, the crash is gone with GCC >= 9. Bruno

new module 'memalign'

2020-11-03 Thread Bruno Haible
I noticed test failures of module 'aligned-malloc' on OpenBSD 6.1 and AIX 7.2 (64-bit). So, apparently some of the functions memalign, posix_memalign, aligned_alloc are not reliably implemented on some platforms. Let me add modules for these functions. These modules don't implement the functions w

new module 'aligned_alloc'

2020-11-03 Thread Bruno Haible
Here comes the module 'aligned_alloc'. It contains a workaround: On AIX 7.1 and 7.2, aligned_alloc returns NULL when the alignment is < sizeof (void *). posix_memalign does not accept alignment arguments < sizeof (void *), but aligned_alloc should. 2020-11-03 Bruno Haible aligned_allo

new module 'posix_memalign'

2020-11-03 Thread Bruno Haible
Here comes the module 'posix_memalign'. On OpenBSD 6.0 and 6.1, void *p; posix_memalign (&p, 32, 2406) produces a pointer p that is not a multiple of 32. It's fixed in OpenBSD 6.2. 2020-11-03 Bruno Haible posix_memalign: Add tests. * tests/test-posix_memalign.c: New f

aligned-malloc: Use fixes from the new modules

2020-11-03 Thread Bruno Haible
With this, aligned-malloc can be made more robust. 2020-11-03 Bruno Haible aligned-malloc: Use fixes from the new modules. * modules/aligned-malloc (Depends-on): Add posix_memalign, aligned_alloc, memalign. (configure.ac): Use AC_CHECK_FUNCS_ONCE. diff --git a