Re: [PATCH] mountlist: recognize fuse.portal as dummy file system

2021-06-07 Thread Kamil Dudka
On Tuesday, June 8, 2021 12:16:36 AM CEST Pádraig Brady wrote: > On 07/06/2021 13:43, Kamil Dudka wrote: > > This was originally proposed at: > > https://lists.gnu.org/archive/html/bug-gnulib/2021-02/msg00053.html > > > > As the full review might take some time, would it be possible to apply

Re: warnings in unit tests

2021-06-07 Thread Jim Meyering
On Mon, Jun 7, 2021 at 7:41 PM Bruno Haible wrote: > Hi Jim, > > > > > > @@ -183,6 +183,9 @@ main () > > > > >*(volatile int *) (page + 0x678) = 42; > > > > >break; > > > > > case 3: > > > > > +#if 6 < __GNUC__ > > > > > +# pragma GCC diagnostic ignored "-Wnull-dereference" >

warnings in unit tests

2021-06-07 Thread Bruno Haible
Hi Jim, > > > > @@ -183,6 +183,9 @@ main () > > > >*(volatile int *) (page + 0x678) = 42; > > > >break; > > > > case 3: > > > > +#if 6 < __GNUC__ > > > > +# pragma GCC diagnostic ignored "-Wnull-dereference" > > > > +#endif > > > >*(volatile int *) 0 = 42; > > > >

Re: new module 'sigsegv'

2021-06-07 Thread Jim Meyering
On Mon, Jun 7, 2021 at 3:29 AM Dmitry V. Levin wrote: > Hi, > On Mon, Jun 07, 2021 at 02:49:35AM +0200, Bruno Haible wrote: > [...] [...] > > > @@ -183,6 +183,9 @@ main () > > >*(volatile int *) (page + 0x678) = 42; > > >break; > > > case 3: > > > +#if 6 < __GNUC__ > > > +# pr

get_ppid_of: Add support for DragonFly BSD

2021-06-07 Thread Bruno Haible
DragonFly BSD has a /proc//status file that looks like the FreeBSD one. 2021-06-07 Bruno Haible get_ppid_of: Add support for DragonFly BSD. * lib/get_ppid_of.c: Treat DragonFly BSD like FreeBSD. diff --git a/lib/get_ppid_of.c b/lib/get_ppid_of.c index ed9f25f..f153b75 100644

Re: dynarray, scratch_buffer: Avoid conflict with preprocessor macros owned by the system

2021-06-07 Thread Bruno Haible
Oops, I forgot to 'mkdir -p malloc' in the build directory. In some environments, the Makefile's 'dirstamp' handling does it automatically; in others, it doesn't. 2021-06-07 Bruno Haible dynarray, scratch_buffer: Fix VPATH builds (regression from yesterday). * modules/dynarray

ptsname_r: Add support for DragonFly BSD 6.0

2021-06-07 Thread Bruno Haible
On DragonFly BSD 6.0, which does not have ptsname_r(), the Gnulib replacement always fails because 1. the fd does not satisfy isatty(), 2. ttyname_r returns just a number, e.g. "25", which is pointless. On this system, a different approach is needed: fdevname_r(). This is also what ptsname() us

avoid some test failures on DragonFly BSD 6.0

2021-06-07 Thread Bruno Haible
This patch avoids some test failures on DragonFly BSD 6.0. 2021-06-07 Bruno Haible Avoid some test failures on DragonFly BSD 6.0. * tests/test-c32isalnum.c (main): On Dragonfly BSD, disable tests that fail. * tests/test-c32isalpha.c (main): Likewise. *

Re: [PATCH] mountlist: recognize fuse.portal as dummy file system

2021-06-07 Thread Pádraig Brady
On 07/06/2021 13:43, Kamil Dudka wrote: This was originally proposed at: https://lists.gnu.org/archive/html/bug-gnulib/2021-02/msg00053.html As the full review might take some time, would it be possible to apply at least the part related to fuse.portal file systems? They started to cause

host-os: Add support for DragonFly BSD

2021-06-07 Thread Bruno Haible
The name of DragonFly BSD is taken from their homepage https://www.dragonflybsd.org/ . Although they have other spellings, e.g. in https://bugs.dragonflybsd.org/ . 2021-06-07 Bruno Haible host-os: Add support for DragonFly BSD. * m4/host-os.m4 (gl_HOST_OS): On DragonFly BSD, s

thread: Fix test link error on DragonFly BSD 6.0

2021-06-07 Thread Bruno Haible
On DragonFly BSD 6.0, when compiling a testdir with CFLAGS=-g (no gcc optimizations), I get a link error: gcc -ggdb -o test-thread_self test-thread_self.o libtests.a ../gllib/libgnu.a libtests.a ../gllib/libgnu.a libtests.a -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm ../../gltests/../gllib/g

[PATCH] mountlist: recognize fuse.portal as dummy file system

2021-06-07 Thread Kamil Dudka
This was originally proposed at: https://lists.gnu.org/archive/html/bug-gnulib/2021-02/msg00053.html As the full review might take some time, would it be possible to apply at least the part related to fuse.portal file systems? They started to cause problems recently: https://bugs.launch

Re: new module 'sigsegv'

2021-06-07 Thread Dmitry V. Levin
Hi, On Mon, Jun 07, 2021 at 02:49:35AM +0200, Bruno Haible wrote: [...] > > -volatile int * > > +static volatile int * > > recurse_1 (int n, volatile int *p) > > { > >if (n < INT_MAX) > > @@ -80,7 +80,7 @@ recurse_1 (int n, volatile int *p) > >return p; > > } > > > > -int > > +static

Re: put appropriate license notices in source files

2021-06-07 Thread Simon Josefsson via Gnulib discussion list
Eric Blake writes: > Speaking of tools, should we include SPDX tags alongside the full text > of all our licenses, as that is yet another thing that aids > license-checking tools? > > https://spdx.github.io/spdx-spec/appendix-V-using-SPDX-short-identifiers-in-source-files/ I'm not a big fan of d