GNU bug report logs - #10359
libtool changing basename(argv[0])

Previous Next

Package: libtool;

Reported by: Lucas De Marchi <lucas.demarchi <at> profusion.mobi>

Date: Sat, 24 Dec 2011 15:55:02 UTC

Severity: normal

Merged with 10358

To reply to this bug, email your comments to 10359 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-libtool <at> gnu.org:
bug#10359; Package libtool. (Sat, 24 Dec 2011 15:55:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Lucas De Marchi <lucas.demarchi <at> profusion.mobi>:
New bug report received and forwarded. Copy sent to bug-libtool <at> gnu.org. (Sat, 24 Dec 2011 15:55:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Lucas De Marchi <lucas.demarchi <at> profusion.mobi>
To: bug-libtool <at> gnu.org
Subject: Re: libtool changing basename(argv[0])
Date: Fri, 23 Dec 2011 02:12:34 -0200
[Message part 1 (text/plain, inline)]
On Fri, Dec 23, 2011 at 1:51 AM, Lucas De Marchi
<lucas.demarchi <at> profusion.mobi> wrote:
> Hey all,
>
> In one of my projects I rely on basename(argv[0]) to know what to do
> in the application (because it can be called from compat symlinks).
> With libtool 2.4.2 I'm having an issue that basename(argv[0]) returns
> lt-progname instead of just progname. Another developer has libtool
> 2.4 and does not have this problem.
>
> Is this a regression from 2.4? Googling shows me some similar problem
> but with older versions (~ 2009)

Checking the source code.... the following change fixes the problem
for me, but I'm not sure if it's the right fix.

thanks
Lucas De Marchi
[0001-Do-not-change-argv-0-to-lt-progname.patch (text/x-patch, attachment)]

Merged 10358 10359. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 01 Jan 2012 02:20:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-libtool <at> gnu.org:
bug#10359; Package libtool. (Wed, 17 Apr 2013 03:13:02 GMT) Full text and rfc822 format available.

Message #10 received at 10359 <at> debbugs.gnu.org (full text, mbox):

From: Lucas De Marchi <lucas.demarchi <at> profusion.mobi>
To: 10359 <at> debbugs.gnu.org
Subject: Ping
Date: Wed, 17 Apr 2013 00:08:03 -0300
There wasn't any update on this... It's still buggy.

Could anyone point to the right direction?

Lucas De Marchi




This bug report was last modified 12 years and 70 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.