[PATCH] gnulib-tool.py (pygnulib) minor print warn crash fix

2023-05-31 Thread Mitch Capper
Without this you may get print('Removing file %s (backup in )' % (path, backup)) ^~~~ TypeError: not all arguments converted during string formatting ./bootstrap: gnulib-tool failed ~mitch (they, them) pygnulib_minor_bug.patch Description: Bi

Re: Copyright-paperwork-exempt

2023-05-31 Thread Paul Eggert
On 2023-05-31 04:57, Bruno Haible wrote: But I think it would be good to write Copyright-paperwork-exempt: yes (like everyone else does), not Copyright-paperwork-exempt: true Yes, that was my intent; I merely forgot whether it was "yes" or "true". Adding this to HACKING sounds good.

Re: new gnulib/maint-tools git repository

2023-05-31 Thread Bruno Haible
Ben Pfaff wrote: > I did not know that Savannah supported more than one > repository per project. In https://git.savannah.gnu.org/cgit/ you can see that hurd, emacs, and poke (in particular) have several git repos. > It might be hard even for gnulib maintainers to notice it. I suggest > updating

Re: Copyright-paperwork-exempt

2023-05-31 Thread Bernhard Voelker
On 5/31/23 13:57, Bruno Haible wrote: I see this "Copyright-paperwork-exempt" annotation for the first time. I like it, since * The ChangeLog is meant to record this information [1], but when ChangeLogs are generated from git history, this information must obviously be stored in git

Re: new gnulib/maint-tools git repository

2023-05-31 Thread Paul Eggert
Thanks for doing that. I installed the attached minor changes to the EOL list. Not sure we need to do every distro, but Debian and Ubuntu surely make whatever cut we'll have. Although I had reported that Solaris 10 expired in January 2024, Oracle recently extended it by a year. So I guess our

Re: error: Support the compiler's control flow analysis better (was: copy-file: Silence gcc warnings)

2023-05-31 Thread Jim Meyering
On Wed, May 31, 2023 at 9:12 AM Pádraig Brady wrote: > On 30/05/2023 22:29, Paul Eggert wrote: > > On 5/28/23 06:07, Pádraig Brady wrote: > >> There still is a gotcha (hit in dd.c in coreutils) > >> where if you define an error macro yourself > >> you get a macro redefinition error, > > > > I see

Re: add __MVS__ to list of systems that should default to UTF-8 in localcharset.c

2023-05-31 Thread Mike Fulton
Hi It looks right but I do see 3 warnings: :troff: man7/groff_char.7:1051: warning: can't find special character 'bs' troff: man7/groff_char.7:1192: warning: can't find special character 'radicalex' troff: man7/groff_char.7:1195: warning: can't find special character 'sqrtex' For example, in the

Re: request for update to z/OS progname

2023-05-31 Thread Mike Fulton
Hi Yes - good point - this would not work if it was built in 31-bit addressing mode, non-XPLINK. 64-bit is always XPLINK. That would be a good addition. On Wed, May 31, 2023 at 5:17 AM Bruno Haible wrote: > Hello Mike, > > > In getprogname.c, there is a section of code delimited by > > > > # el

Re: error: Support the compiler's control flow analysis better (was: copy-file: Silence gcc warnings)

2023-05-31 Thread Pádraig Brady
On 30/05/2023 22:29, Paul Eggert wrote: On 5/28/23 06:07, Pádraig Brady wrote: There still is a gotcha (hit in dd.c in coreutils) where if you define an error macro yourself you get a macro redefinition error, I see you fixed that by adding a quick "#define _GL_NO_INLINE_ERROR" to coreutils/sr

Re: new gnulib/maint-tools git repository

2023-05-31 Thread Ben Pfaff
On Wed, May 31, 2023 at 4:39 AM Bruno Haible wrote: > We now have a separate git repository for gnulib maintainer tools. > I asked the savannah admins to create the repository and filled it > with the following tools: That is super! I did not know that Savannah supported more than one repository

Re: add __MVS__ to list of systems that should default to UTF-8 in localcharset.c

2023-05-31 Thread Bruno Haible
Mike Fulton wrote: > I would like to request the __MVS__ macro be added so that z/OS will > default to UTF-8, e.g. > > # if (defined __APPLE__ && defined __MACH__) || defined __BEOS__ || defined > __HAIKU__ || defined __MVS__ > codeset = "UTF-8"; > # else This doesn't seem right. I unders

Re: request for update to z/OS progname

2023-05-31 Thread Bruno Haible
Hello Mike, > In getprogname.c, there is a section of code delimited by > > # elif __MVS__ > ... > #elif defined __sgi || defined __osf__ > > I would like to request a patch so that code built in ASCII mode will > operate correctly. > Currently, the program name returned is always in EBCDIC. Thi

Copyright-paperwork-exempt

2023-05-31 Thread Bruno Haible
Paul Eggert wrote: > Thanks, I installed that. > Copyright-paperwork-exempt: true I see this "Copyright-paperwork-exempt" annotation for the first time. I like it, since * The ChangeLog is meant to record this information [1], but when ChangeLogs are generated from git history, this inform

new gnulib/maint-tools git repository

2023-05-31 Thread Bruno Haible
Hi, We now have a separate git repository for gnulib maintainer tools. I asked the savannah admins to create the repository and filled it with the following tools: * A database which platform has which header file. Example: $ ./show-portability --doc error.h macOS 11.1, FreeBSD 13.0, N