Re: parse-datetime2: Semantic and implementation of "1 day ago"

2025-04-02 Thread Guido Jäkel
Dear Pádraig, thank you for clarification! And for the pointer to the FAQ. With the assumption that the time shifts all over the world will happen before noon, this will be a "working workaround". And IMHO, this must be called a workaround and not a "have-to-known" , because it fixes the curre

crypto/gc: Silence some -Wcalloc-transposed-args warnings

2025-04-02 Thread Bruno Haible via Gnulib discussion list
Building a testdir with a GCC 15 snapshot, I see these warnings: ../../gllib/gc-gnulib.c:177:24: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument ../../gllib/gc-gnulib.c:566:24: warning: 'calloc' sizes specified with 'sizeof' in the earlier ar

Re: crypto/gc: Silence some -Wcalloc-transposed-args warnings

2025-04-02 Thread Bruno Haible via Gnulib discussion list
Collin Funk wrote: > Did GCC 15 enable these with -Wall or -Wextra? It is part of -Wextra. Bruno

Re: crypto/gc: Silence some -Wcalloc-transposed-args warnings

2025-04-02 Thread Collin Funk
Bruno Haible via Gnulib discussion list writes: > Since the first argument of calloc() is meant to be the number of elements > to allocate and the second argument is meant to be the size of each element, > and since here each element is a _gc_cipher_ctx or _gc_hash_ctx, the > warning makes sense.

Re: parse-datetime2: Semantic and implementation of "1 day ago"

2025-04-02 Thread Pádraig Brady
On 02/04/2025 13:04, Jäkel, Guido wrote: Dear Maintainers, I want to ask what's the exact semantic semantic and functionality of the keyword "1 day ago" and "yesterday" in parse-datetime2(), which is used by the `date`-command of coreutils. Because in a batch job running at every midnight (at