memrchr tests: Avoid GCC warning

2023-03-20 Thread Bruno Haible
Compiling a current grep snapshot with GCC 4.5.4, I see this warning: CC test-memrchr.o ../../gnulib-tests/test-memrchr.c:32:10: warning: unknown option after '#pragma GCC diagnostic' kind The reason is that '#pragma GCC diagnostic' is only supported for GCC ≥ 4.7, see

Re: [PATCH] gnupload: corrected SFTP connection URL

2023-03-20 Thread Bruno Haible
Hi Sergey, Can you please review this proposed patch? What I can see: - The documentation of this script says that download.gnu.org.ua is supported, but the actual upload happens to puszcza.gnu.org.ua. - The two machines have different IP addresses: $ ping puszcza.gnu.org.ua PING

unistdio: Simplify code

2023-03-20 Thread Bruno Haible
Some macros were defined but never used. 2023-03-20 Bruno Haible unistdio: Simplify code. * lib/unistdio/u8-vasnprintf.c (DCHAR_T_IS_UINT8_T): Remove unused macro. * lib/unistdio/u8-u8-vasnprintf.c: Likewise. * lib/unistdio/u16-vasnprintf.c (DCHAR_T_IS_

vasnwprintf: Port to older platforms without swprintf

2023-03-20 Thread Bruno Haible
On platforms without swprintf, such as IRIX 6.5, I was seeing this warning, and later a link error: In file included from ../../gllib/vasnwprintf.c:18: ../../gllib/vasnprintf.c: In function `vasnwprintf': ../../gllib/vasnprintf.c:3509: warning: implicit declaration of function `swprintf' This pa

[PATCH] gnupload: corrected SFTP connection URL

2023-03-20 Thread Ar Rakin
>From 6220748c8a29202beff65085ec6af239fd2da47c Mon Sep 17 00:00:00 2001 From: Ar Rakin Date: Mon, 20 Mar 2023 07:21:27 + Subject: [PATCH] gnupload: corrected SFTP connection URL * build-aux/gnupload: fixed puszcza SFTP connection URL: puszcza.gnu.org.ua -> download.gnu.org.ua --- build-aux/g

Re: vasnwprintf: Fix module dependencies

2023-03-20 Thread Bruno Haible
Yesterday I did: > 2023-03-19 Bruno Haible > > vasnwprintf: Fix module dependencies. > * modules/vasnwprintf (Depends-on): Add wmemcpy, wmemset. Oops, this produces gnulib-tool warnings: gnulib-tool: warning: module vasnwprintf-posix depends on a module with an incompatible licen