Re: new module 'c32rtomb'

2020-01-20 Thread Bruno Haible
I wrote: > On FreeBSD 12 and Solaris 11.4, the > two encodings are different. The FreeBSD 12 wchar_t encoding is apparently > based on ISO 2022 (very old). > > The fix is to use mbrtoc32() on platforms where this is possible, namely > on FreeBSD. Actually, FreeBSD has a similar bug as Solaris 11.

Re: fstrcmp: memory is not reclaimed on exit

2020-01-20 Thread Bruno Haible
Hi Akim, > > +==2837387== 320 bytes in 1 blocks are still reachable in loss record 1 of 1 > > +==2837387==at 0x483A80B: malloc (vg_replace_malloc.c:309) > > +==2837387==by 0x117CFC: xmalloc (xmalloc.c:41) > > +==2837387==by 0x11B743: UnknownInlinedFun (xalloc.h:103) > > +==2837387==

Re: FreeBSD 11.2: glthread build failure

2020-01-20 Thread Bruno Haible
Hi Tim, > >>> CCLD wget2 > > > > Please make it a habit to use "make V=1" when submitting a report. > > I don't want to see "CCLD wget2"; I want to see the actual link > > command line. > > I don't have direct console/shell access - the issue is/was on a FreeBSD > instance running somewher

Re: warning in lib/unistr/u8-uctomb.c

2020-01-20 Thread Bruno Haible
Correcting the subject. > cc1: all warnings being treated as errors "this statement may fall through" is a warning. *You* turned it into an error by using -Werror or -Werror=implicit-fallthrough. It is therefore misleading to say that there is a compilation error in lib/unistr/u8-uctomb.c. > ../

Re: FreeBSD 11.2: glthread build failure

2020-01-20 Thread Bruno Haible
> I can confirm that your patch fixes the issue here. Great. Thanks. Testing showed a regression: glthread_once is no longer working on FreeBSD 11, because in this code # define glthread_once(ONCE_CONTROL, INITFUNCTION) \ (pthread_in_use ()

lib/unistr/u8-uctomb.c fails to compile

2020-01-20 Thread Andreas Schwab
../../grep/lib/unistr/u8-uctomb.c: In function 'u8_uctomb': ../../grep/lib/unistr/u8-uctomb.c:64:65: error: this statement may fall through [-Werror=implicit-fallthrough=] case 4: s[3] = 0x80 | (uc & 0x3f); uc = uc >> 6; uc |= 0x1;

date -d '...' should support superset of POSIX 'at' dates

2020-01-20 Thread Eric Blake
On today's Austin Group meeting, the question of whether some form of 'date -d "..."' should be specified. While there is no way that POSIX would standardize everything that GNU date can parse, there was an idea that supporting '@seconds' since Epoch, plus all of the formats already required t

Re: FreeBSD 11.2: glthread build failure

2020-01-20 Thread Tim Rühsen
Hi Bruno, thanks for your work ! I can confirm that your patch fixes the issue here. On 1/20/20 4:01 AM, Bruno Haible wrote: >>> FreeBSD 11.2-RELEASE-p4 (with clang 6.0): >>> >>> CCLD wget2 > > Please make it a habit to use "make V=1" when submitting a report. > I don't want to see "CCLD