[PATCH] quotearg: fix compilation failure due to FALLTHROUGH misuse

2017-05-25 Thread Jim Meyering
FYI, I've just pushed this: >From 6c720446ab4f450b86fe61113096d09f64029de4 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 25 May 2017 21:25:37 -0700 Subject: [PATCH] quotearg: fix compilation failure due to FALLTHROUGH misuse * lib/quotearg.c (quotearg_buffer_restyled): Revert one FALLTH

Re: FALLTHROUGH warning in quotearg.c with gcc-7.1

2017-05-25 Thread Jim Meyering
On Thu, May 25, 2017 at 5:10 PM, Assaf Gordon wrote: > Hello, > > Pulling the latest gnulib and compling with gcc-7.1, > I'm seeing the following warning: > > gcc-7.1 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -Ilib > -I./lib -Isrc -I./src -g -O2 -MT lib/quotearg.o -MD -MP

FALLTHROUGH warning in quotearg.c with gcc-7.1

2017-05-25 Thread Assaf Gordon
Hello, Pulling the latest gnulib and compling with gcc-7.1, I'm seeing the following warning: gcc-7.1 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -Ilib -I./lib -Isrc -I./src -g -O2 -MT lib/quotearg.o -MD -MP -MF $depbase.Tpo -c -o lib/quotearg.o lib/quotearg.c &&\ mv -f

Re: findutils 4.6.0 v. Tru64 (strftime() v. "%F"?)

2017-05-25 Thread Paul Eggert
On 05/25/2017 07:54 AM, Eric Blake wrote: So yes, either findutils should be using nstrftime() and not strftime() (which will guarantee that these sequences work), or it is indeed time to patch gnulib to provide a replacement strftime() on platforms that are not POSIX-compliant (and then still pa

Re: findutils 4.6.0 v. Tru64 (strftime() v. "%F"?)

2017-05-25 Thread Eric Blake
[adding bug-gnulib] On 05/25/2017 12:43 AM, Steven M. Schweda wrote: >Tru64 is not alone. On an old HP-UX system, it's different but still > sub-ideal: > > dy# findutils-4.6.0/find/find . -name fred -printf '%C+\n' > May+16:18:11.00 > >There, "man strftime" says: > > [...] >

[PATCH] intprops: port to recent icc

2017-05-25 Thread Paul Eggert
Port to icc (ICC) 17.0.4 20170411, which defines __GNUC__ to be 5 but does not support __builtin_add_overflow etc. * lib/intprops.h (_GL_HAS_BUILTIN_OVERFLOW) [__ICC]: Define to 0. --- ChangeLog | 8 lib/intprops.h | 6 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --