Re: Remove dependency of getdelim on realloc-posix

2016-08-18 Thread Paul Eggert
Bruno Haible wrote: I think the correction should be to put back the errno = ENOMEM; statement (in __set_errno disguise, if you prefer that). Thanks for catching that. I installed the attached. >From 10dd4d106b699baaef466da21d796ddb80a7b5e5 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Th

Re: [PATCH 0/4] New getprogname module

2016-08-18 Thread Pino Toscano
On Wednesday, 17 August 2016 14:14:34 CEST Jim Meyering wrote: > On Wed, Aug 17, 2016 at 6:06 AM, Pino Toscano wrote: > > Hi, > > > > On Tuesday, 29 March 2016 14:15:18 CEST Pino Toscano wrote: > >> as discussed in [1], this series adds a new getprogname module. > >> All it does is providing a get

[PATCH v2 4/4] main.mk: remove sc_program_name

2016-08-18 Thread Pino Toscano
There is no more need to use set_program_name in tools (getprogname is enough for most of the cases). * cfg.mk (local-checks-to-skip): Remove sc_program_name. * top/maint.mk (sc_program_name): Remove. --- ChangeLog| 6 ++ cfg.mk | 1 - top/maint.mk | 9 - 3 files changed, 6 i

[PATCH v2 2/4] Port modules to use getprogname explicitly

2016-08-18 Thread Pino Toscano
... instead of requiring progname to be used (or program_name to be provided). * lib/argmatch.c: Do not include progname.h. [TEST] (program_name): Do not define. [TEST] (main): Call getprogname instead of using program_name. * lib/c-stack.c: Do not include progname.h. (program_name): Do not define.

[PATCH v2 3/4] Port tests away from progname

2016-08-18 Thread Pino Toscano
Modules which need the program name are using getprogname. * modules/acl-tests (Depends-on): Remove progname. * modules/argmatch (Depends-on): Likewise. * modules/argmatch-tests (Depends-on): Likewise. * modules/argp-tests (Depends-on): Likewise. * modules/argp-version-etc-tests (Depends-on): Like

[PATCH v2 0/4] New getprogname module

2016-08-18 Thread Pino Toscano
Hi, as discussed in [1], this series adds a new getprogname module. All it does is providing a getprogname function, much like what is found on e.g. *BSD systems, and using it in gnulib instead of progname. Also, using it explicitly by modules avoids gnulib users the need of either use the prognam

[PATCH v2 1/4] getprogname: new module

2016-08-18 Thread Pino Toscano
This provides a LGPL module for getting the name of the current program, using the same API found on *BSD systems. * lib/getprogname.c, lib/getprogname.h, m4/getprogname.m4: * modules/getprogname: New files. --- ChangeLog | 8 lib/getprogname.c | 45 ++

Re: Remove dependency of getdelim on realloc-posix

2016-08-18 Thread Bruno Haible
Hi Paul, > Thanks for reporting that. I installed into Gnulib the attached > somewhat-more-elaborate patch, which should fix the problem. The change in lib/canonicalize-lgpl.c line 288 (after the 'malloca' call) looks like a mistake to me. malloca() is not specified to set errno upon failure (se

Re: [PATCH] IBM z/OS + EBCDIC support

2016-08-18 Thread Paul Eggert
Daniel Richard G. wrote: (Did you get the minor changes to test-c-strncasecmp.c and test-sigpipe.sh? Those are the only salient ones still outstanding) Hmm, sorry, I don't seem to have them. Could you please resend them, in 'git format-patch' format? Thanks.

Re: [PATCH] IBM z/OS + EBCDIC support

2016-08-18 Thread Daniel Richard G.
On Wed, 2016 Aug 17 17:47-0700, Paul Eggert wrote: > > Thanks, I finally installed those into the main repository on > Savannah. I had to write ChangeLog entries, which I took from your > email. I also fixed a couple of minor glitches that I noticed. Much appreciated, Paul. (Did you get the minor