On Sat, Dec 17, 2016 at 3:27 PM, Bruno Haible wrote:
> Followup to this discussion from October 2016:
>
> Jim:
>> > I did not mean to imply by that message that we should eliminate every
>> > use of the program_name module. My desire is more to avoid accidental
>> > use of it when the getprogname
Followup to this discussion from October 2016:
Jim:
> > I did not mean to imply by that message that we should eliminate every
> > use of the program_name module. My desire is more to avoid accidental
> > use of it when the getprogname module would be more appropriate.
Bruno:
> Fully agree on thi
Jim Meyering wrote:
> > + if (strncmp (p, "lt-", 3) == 0)
> > +p = p + 3;
>
> Thank you.
> You are welcome to push that, even though I prefer the more concise "p += 3;"
Thanks for the review. Pushed with your suggested edit.
Bruno
On Tue, Oct 18, 2016 at 3:32 PM, Bruno Haible wrote:
> Hi Jim,
...
> 2016-10-18 Bruno Haible
>
> getprogname tests: Avoid failure in packages that use libtool.
> * tests/test-getprogname.c (main): Strip "lt-" prefix.
> Based on a patch by Jim Meyering.
>
> diff --git a/t
Hi Jim,
> > In summary, I like Pino's 'getprogname' module because it nicely solves the
> > problems he listed in
> > http://lists.gnu.org/archive/html/bug-gnulib/2016-03/msg00048.html.
> >
> > But I disagree with the idea that the 'program_name' module and the
> > set_program_name() function shou
On Tue, Oct 18, 2016 at 2:29 PM, Bruno Haible wrote:
> Daiki Ueno wrote:
>> > The consequence is that in packages that use GNU libtool, such programs
>> > will
>> > print "lt-prog" instead of "prog" in their usage message and other
>> > messages.
>> > This will disturb
>> > * the hacker who us
Daiki Ueno wrote:
> > The consequence is that in packages that use GNU libtool, such programs will
> > print "lt-prog" instead of "prog" in their usage message and other messages.
> > This will disturb
> > * the hacker who uses the programs before doing "make install",
> > * the test suite.
>
On Tue, Oct 18, 2016 at 12:07 PM, Daiki Ueno wrote:
> Bruno Haible writes:
>
>> The consequence is that in packages that use GNU libtool, such programs will
>> print "lt-prog" instead of "prog" in their usage message and other messages.
>> This will disturb
>> * the hacker who uses the programs
Bruno Haible writes:
> The consequence is that in packages that use GNU libtool, such programs will
> print "lt-prog" instead of "prog" in their usage message and other messages.
> This will disturb
> * the hacker who uses the programs before doing "make install",
> * the test suite.
Sorry,
Daiki Ueno wrote:
> On a related note, this new test also fails when it is invoked as a
> libtool wrapper script, because of the "lt-" prefix.
>
> $ ./gnulib-tool --create-testdir --dir t --libtool getprogname
> $ cd t && ./configure
> $ sed -i 's/^noinst_LTLIBRARIES +=/lib_LTLIBRARIES =/' gllib/M
10 matches
Mail list logo