bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 0/4] New getprogname module


From: Jim Meyering
Subject: Re: [PATCH v2 0/4] New getprogname module
Date: Sat, 3 Sep 2016 20:47:15 -0700

On Thu, Aug 18, 2016 at 6:18 AM, Pino Toscano <address@hidden> wrote:
> 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 progname module (GPL), or to provide program_name (and
> call set_program_name manually, which is not always doable).
>
> Caveat: the progname is left as it is, so set_program_name will still
> affect program_name but not what error will use.
>
> (Please note it's my first big patch to gnulib, so bear with me for
> anything wrong/missing.)
>
> [1] http://lists.gnu.org/archive/html/bug-gnulib/2016-03/msg00048.html

Thanks for your patience.
I amended the first commit to do this:

  * MODULES.html.sh (Misc): Add getprogname.

Two things were mistakenly removed. I have restored them:

* lib/argmatch.c: Do not elide this comment:

  /*
   * Based on "getversion.c" by David MacKenzie <address@hidden>
   */

* modules/argmatch (Depends-on): Do not remove getprogname.

I'm prepared to push the attached, but will wait for your ack.

Attachment: gnulib-add-getprogname.diff
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]