Re: gnu-web-doc-update doesn't work when the manual isn't already online

2023-03-21 Thread Bruno Haible
Hi Reuben, Reuben Thomas wrote: > I spent a while trying to work out why I was getting CVS errors from the > script for GNU a2ps, and I realised that the problem was that a2ps's manual > wasn't online yet. This causes confusing error messages when the "manual" > subdirectory isn't online, and cvs

unistdio/u*-vasnprintf: Fix conversion of %Id directive result

2023-03-21 Thread Bruno Haible
In the conversion from TCHAR_T[] to DCHAR_T[] in vasnprintf.c, there is an optimized loop for the case that the directive's result is entirely ASCII. There was a bug in this logic: On glibc systems, the result of the %Id directive uses alternate digits (used in Farsi and some Arabic locales), and

Re: vasnwprintf: Port to older platforms without swprintf

2023-03-21 Thread Bruno Haible
Yesterday I did: > (VASNPRINTF): In this case, implement %ls and %lc directly. Adjust a > couple of #if conditions. For the conversion from TCHAR_T[] to > DCHAR_T[], use mbsrtowcs. Oops, this was buggy: - The %lc implementation needs to ignore the precision. - The conversion

*printf-posix: Work around bug with %lc of 0 on many platforms

2023-03-21 Thread Bruno Haible
After adding a few more tests for *printf %c and %lc, I noticed yet another *printf bug. This time not in musl libc, but in _all_ platforms other than musl libc. For glibc, I registered it as https://sourceware.org/bugzilla/show_bug.cgi?id=30257 . This patch adds a workaround to the (narrow)

Re: [PATCH] gnupload: corrected SFTP connection URL

2023-03-21 Thread Bruno Haible
Sergey Poznyakoff wrote: > > Can you please review this proposed patch? > > Yes, the patch is correct. Please apply it. Applied. Thanks to both of you. Bruno

Re: [PATCH] gnupload: corrected SFTP connection URL

2023-03-21 Thread Sergey Poznyakoff
Hi Bruno, > Can you please review this proposed patch? Yes, the patch is correct. Please apply it. > - The documentation of this script says that download.gnu.org.ua is > supported, but the actual upload happens to puszcza.gnu.org.ua. To make the long story short, the two names used to