new module 'btoc32'

2020-01-04 Thread Bruno Haible
The function 'btoc32' is like 'btowc', except that it may (in theory) produce char32_t values instead of wchar_t values. 2020-01-04 Bruno Haible btoc32: Add tests. * tests/test-btoc32.c: New file, based on tests/test-btowc.c. * tests/test-btoc32-1.sh: New file, based o

Re: Issues with _GL_CXXALIAS_SYS (strndup)

2020-01-04 Thread Bruno Haible
Hi Martin, Thank you for the careful analysis. > The root cause for this issue seems to be that clang has a builtin for the > strndup function, even if the target platform actually doesn't have it. > > This manifests itself during configure like this: > > configure:31903: checking whether strn

Re: Issues with C++ overloaded math functions in math.h in the wrong scope

2020-01-04 Thread Bruno Haible
Hi Martin, > In this particular case, this math.h header ends up included in a context > wrapped in 'extern "C" {}' surrounding it, which breaks the C++ function > overloading. The general convention is that header files must be included outside of any 'extern "C" {}' or 'extern "C++" {}' conte

new module 'mbsrtoc32s'

2020-01-04 Thread Bruno Haible
The function mbsrtoc32s is like mbsrtowcs, with char32_t instead of wchar_t. These patches add the module 'mbsrtoc32s', a bit of preparations, and unit tests. 2020-01-04 Bruno Haible mbsrtoc32s: Add tests. * tests/test-mbsrtoc32s.c: New file, based on tests/test-mbsrtowcs.c.

Re: nl_langinfo-mt failure on Solaris 10 x86

2020-01-04 Thread Dagobert Michelsen
Hi Bruno, Am 03.01.2020 um 23:28 schrieb Bruno Haible : >> I have one failing test on Solaris 10 x86: >> >> FAIL: test-nl_langinfo-mt >> = >> >> thread5 disturbed by threadN! >> FAIL test-nl_langinfo-mt (exit status: 134) >> >> >> This looks like a new failure to me. >

Using git: in the bootstrap script?

2020-01-04 Thread Paul Smith
One of my users has reported that the gnulib-supplied bootstrap script is failing for them, but if they change: default_gnulib_url=git://git.sv.gnu.org/gnulib to: default_gnulib_url=https://git.savannah.gnu.org/git/gnulib it works. My suspicion is that they're behind a firewall which doesn

Re: Using git: in the bootstrap script?

2020-01-04 Thread Paul Eggert
On 1/4/20 12:59 PM, Paul Smith wrote: > Is there a reason gnulib is still preferring the git: protocol in the > bootstrap script even though in most other places we are switching to the > more secure https protocol? Not that I know of. Feel free to change it.

Re: Issues with _GL_CXXALIAS_SYS (strndup)

2020-01-04 Thread Martin Storsjö
Hi Bruno, On Sat, 4 Jan 2020, Bruno Haible wrote: Hi Martin, Thank you for the careful analysis. The root cause for this issue seems to be that clang has a builtin for the strndup function, even if the target platform actually doesn't have it. This manifests itself during configure like thi

Re: Issues with C++ overloaded math functions in math.h in the wrong scope

2020-01-04 Thread Martin Storsjö
On Sat, 4 Jan 2020, Bruno Haible wrote: Hi Martin, In this particular case, this math.h header ends up included in a context wrapped in 'extern "C" {}' surrounding it, which breaks the C++ function overloading. The general convention is that header files must be included outside of any 'exte

Re: Using git: in the bootstrap script?

2020-01-04 Thread Bruno Haible
Paul Smith wrote: > Is there a reason gnulib is still preferring the git: protocol in the > bootstrap script even though in most other places we are switching to the > more secure https protocol? >From the last 3 paragraphs of [1] I understand that the git protocol has no "encryption and authentic

new module 'mbsnrtoc32s'

2020-01-04 Thread Bruno Haible
This function corresponds to mbsnrtowcs, but it writes a sequence of char32_t, not wchar_t. 2020-01-04 Bruno Haible mbsnrtoc32s: Add tests. * tests/test-mbsnrtoc32s.c: New file, based on tests/test-mbsnrtowcs.c. * tests/test-mbsnrtoc32s-1.sh: New file, based on

[PATCH] stdlib: avoid canonicalize_file_name contradiction

2020-01-04 Thread Jim Meyering
I expect to push something like the attached tomorrow: stdlib: avoid canonicalize_file_name contradiction * lib/stdlib.in.h (canonicalize_file_name): Remove the nonnull attribute from its declaration. tests/test-canonicalize-lgpl.c passes null_ptr () to it, which (via this contradiction) would pro

[PATCH] update-copyright: reenable its always-skipped test

2020-01-04 Thread Jim Meyering
Here's another that I'll push tomorrow: always-skipped-update-copyright-test.diff Description: Binary data

Re: [PATCH] update-copyright: reenable its always-skipped test

2020-01-04 Thread Bruno Haible
Hi Jim, > Here's another that I'll push tomorrow: Oops, right. My mistake. Like in build-aux/update-copyright, you might also want to restore the -0777 option that was lost on 2019-06-15. Bruno