Re: restrict

2020-02-09 Thread Bruno Haible
Tim Rühsen wrote: > gcc -Wall tells you so (gcc 8 and upwards): > $ gcc -Wall msg.c -o msg > msg.c: In function ‘main’: > msg.c:11:13: warning: passing argument 1 to restrict-qualified parameter > aliases with argument 4 [-Wrestrict] >11 | snprintf (msg, sizeof (msg), "%s%s", msg, WRONG_MESSA

Re: dfa.c no longer usable if no 64-bit support

2020-02-09 Thread arnold
Just FYI, gawk's dfa.c is now in sync w/Gnulib's. There are still some problems on Vax/VMS. I suspect it's environmental but will let you know if not. Thanks! Arnold arn...@skeeve.com wrote: > Paul, > > Thanks for this. I will work on reducing the differences between > what's in Gnulib and w

Re: Possible testing case of snprintf.

2020-02-09 Thread Tim Rühsen
On 09.02.20 15:44, Mats Erik Andersson wrote: > Hello there! > > This note has its origin in a report received at bug-inetutils. > The following test code for snprintf() is a simplyfied detection > I have implemented as a warning-only test in Gnu Inetutils. > My point is that Linux/glibc and kfree

Possible testing case of snprintf.

2020-02-09 Thread Mats Erik Andersson
Hello there! This note has its origin in a report received at bug-inetutils. The following test code for snprintf() is a simplyfied detection I have implemented as a warning-only test in Gnu Inetutils. My point is that Linux/glibc and kfreebsd/glibc triggers this warning, but OpenSolaris, OpenIndi