X-Loop: help-debbugs@HIDDEN Subject: bug#10359: libtool changing basename(argv[0]) Resent-From: Lucas De Marchi <lucas.demarchi@HIDDEN> Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org Resent-CC: bug-libtool@HIDDEN Resent-Date: Sat, 24 Dec 2011 15:55:02 +0000 Resent-Message-ID: <handler.10359.B.132474205317636 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 10359 X-GNU-PR-Package: libtool X-GNU-PR-Keywords: To: 10359 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-libtool@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.132474205317636 (code B ref -1); Sat, 24 Dec 2011 15:55:02 +0000 Received: (at submit) by debbugs.gnu.org; 24 Dec 2011 15:54:13 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ReTvJ-0004aJ-IA for submit <at> debbugs.gnu.org; Sat, 24 Dec 2011 10:54:13 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <lucas.demarchi@HIDDEN>) id 1RdwXI-0004Rd-PM for submit <at> debbugs.gnu.org; Thu, 22 Dec 2011 23:15:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <lucas.demarchi@HIDDEN>) id 1RdwV8-00049P-30 for submit <at> debbugs.gnu.org; Thu, 22 Dec 2011 23:12:59 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([140.186.70.17]:33855) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <lucas.demarchi@HIDDEN>) id 1RdwV8-00049L-1e for submit <at> debbugs.gnu.org; Thu, 22 Dec 2011 23:12:58 -0500 Received: from eggs.gnu.org ([140.186.70.92]:57265) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <lucas.demarchi@HIDDEN>) id 1RdwV7-0006ip-0G for bug-libtool@HIDDEN; Thu, 22 Dec 2011 23:12:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <lucas.demarchi@HIDDEN>) id 1RdwV6-00048z-2C for bug-libtool@HIDDEN; Thu, 22 Dec 2011 23:12:56 -0500 Received: from mail-vx0-f169.google.com ([209.85.220.169]:54819) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <lucas.demarchi@HIDDEN>) id 1RdwV5-00048r-Up for bug-libtool@HIDDEN; Thu, 22 Dec 2011 23:12:56 -0500 Received: by vcge1 with SMTP id e1so7400366vcg.0 for <bug-libtool@HIDDEN>; Thu, 22 Dec 2011 20:12:55 -0800 (PST) Received: by 10.220.156.81 with SMTP id v17mr1149940vcw.68.1324613575230; Thu, 22 Dec 2011 20:12:55 -0800 (PST) MIME-Version: 1.0 Received: by 10.52.117.45 with HTTP; Thu, 22 Dec 2011 20:12:34 -0800 (PST) In-Reply-To: <CAMOw1v5OVtcNx7hR=93Fz5O5Ru3ZuFyun7oTpoQVjOtg5pa9fg@HIDDEN> References: <CAMOw1v5OVtcNx7hR=93Fz5O5Ru3ZuFyun7oTpoQVjOtg5pa9fg@HIDDEN> From: Lucas De Marchi <lucas.demarchi@HIDDEN> Date: Fri, 23 Dec 2011 02:12:34 -0200 Message-ID: <CAMOw1v7+n-82mk-WH-G+WpiSbsPf3EwYfPQBcrBzNQj9UrQXkw@HIDDEN> Content-Type: multipart/mixed; boundary=f46d043d66cf9dc2c804b4baa1ce X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -6.6 (------) X-Mailman-Approved-At: Sat, 24 Dec 2011 10:54:11 -0500 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -6.6 (------) --f46d043d66cf9dc2c804b4baa1ce Content-Type: text/plain; charset=ISO-8859-1 On Fri, Dec 23, 2011 at 1:51 AM, Lucas De Marchi <lucas.demarchi@HIDDEN> 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 --f46d043d66cf9dc2c804b4baa1ce Content-Type: text/x-patch; charset=US-ASCII; name="0001-Do-not-change-argv-0-to-lt-progname.patch" Content-Disposition: attachment; filename="0001-Do-not-change-argv-0-to-lt-progname.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_gwiorj7s0 RnJvbSAxNDEzMzM4MTU3ZTNjY2ExNTI5YjliZWYyY2YwMjNhNWMwZDA5NDRiIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBMdWNhcyBEZSBNYXJjaGkgPGx1Y2FzLmRlbWFyY2hpQHByb2Z1 c2lvbi5tb2JpPgpEYXRlOiBGcmksIDIzIERlYyAyMDExIDAyOjEzOjMwIC0wMjAwClN1YmplY3Q6 IFtQQVRDSF0gRG8gbm90IGNoYW5nZSBhcmd2WzBdIHRvIGx0LXByb2duYW1lCgpTaWduZWQtb2Zm LWJ5OiBMdWNhcyBEZSBNYXJjaGkgPGx1Y2FzLmRlbWFyY2hpQHByb2Z1c2lvbi5tb2JpPgotLS0K IGJ1aWxkLWF1eC9sdG1haW4ubTRzaCB8ICAgIDIgKy0KIDEgZmlsZXMgY2hhbmdlZCwgMSBpbnNl cnRpb25zKCspLCAxIGRlbGV0aW9ucygtKQoKZGlmZiAtLWdpdCBhL2J1aWxkLWF1eC9sdG1haW4u bTRzaCBiL2J1aWxkLWF1eC9sdG1haW4ubTRzaAppbmRleCA5MjJlOTU3Li5mMTExMjViIDEwMDY0 NAotLS0gYS9idWlsZC1hdXgvbHRtYWluLm00c2gKKysrIGIvYnVpbGQtYXV4L2x0bWFpbi5tNHNo CkBAIC0zMjgxLDcgKzMyODEsNyBAQCBmdW5jX2V4ZWNfcHJvZ3JhbSAoKQogCiAJaWYgdGVzdCB5 ZXMgPSAiJGZhc3RfaW5zdGFsbCI7IHRoZW4KIAkgICRFQ0hPICJcCi0gIHByb2dyYW09bHQtJyRv dXRwdXRuYW1lJyRleGVleHQKKyAgcHJvZ3JhbT0nJG91dHB1dG5hbWUnJGV4ZWV4dAogICBwcm9n ZGlyPVwiXCR0aGlzZGlyLyRvYmpkaXJcIgogCiAgIGlmIHRlc3QgISAtZiBcIlwkcHJvZ2Rpci9c JHByb2dyYW1cIiB8fAotLSAKMS43LjgKCg== --f46d043d66cf9dc2c804b4baa1ce--
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Lucas De Marchi <lucas.demarchi@HIDDEN> Subject: bug#10359: Acknowledgement (libtool changing basename(argv[0])) Message-ID: <handler.10359.B.132474205317636.ack <at> debbugs.gnu.org> References: <CAMOw1v7+n-82mk-WH-G+WpiSbsPf3EwYfPQBcrBzNQj9UrQXkw@HIDDEN> X-Gnu-PR-Message: ack 10359 X-Gnu-PR-Package: libtool Reply-To: 10359 <at> debbugs.gnu.org Date: Sat, 24 Dec 2011 15:55:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-libtool@HIDDEN If you wish to submit further information on this problem, please send it to 10359 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 10359: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D10359 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
Received: (at control) by debbugs.gnu.org; 1 Jan 2012 02:19:06 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Dec 31 21:19:06 2011 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1RhB0s-0001xD-Cv for submit <at> debbugs.gnu.org; Sat, 31 Dec 2011 21:19:06 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <rgm@HIDDEN>) id 1RhB0r-0001x4-0E for control <at> debbugs.gnu.org; Sat, 31 Dec 2011 21:19:05 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from <rgm@HIDDEN>) id 1RhAxs-0000Rn-Dw for control <at> debbugs.gnu.org; Sat, 31 Dec 2011 21:16:00 -0500 Date: Sat, 31 Dec 2011 21:16:00 -0500 Message-Id: <E1RhAxs-0000Rn-Dw@HIDDEN> Subject: control message for bug 10358 To: <control <at> debbugs.gnu.org> X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris <rgm@HIDDEN> X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -6.4 (------) merge 10359 10358
X-Loop: help-debbugs@HIDDEN Subject: bug#10359: Ping References: <CAMOw1v7+n-82mk-WH-G+WpiSbsPf3EwYfPQBcrBzNQj9UrQXkw@HIDDEN> In-Reply-To: <CAMOw1v7+n-82mk-WH-G+WpiSbsPf3EwYfPQBcrBzNQj9UrQXkw@HIDDEN> Resent-From: Lucas De Marchi <lucas.demarchi@HIDDEN> Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org Resent-CC: bug-libtool@HIDDEN Resent-Date: Wed, 17 Apr 2013 03:13:02 +0000 Resent-Message-ID: <handler.10359.B10359.136616837017449 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 10359 X-GNU-PR-Package: libtool X-GNU-PR-Keywords: To: 10359 <at> debbugs.gnu.org Received: via spool by 10359-submit <at> debbugs.gnu.org id=B10359.136616837017449 (code B ref 10359); Wed, 17 Apr 2013 03:13:02 +0000 Received: (at 10359) by debbugs.gnu.org; 17 Apr 2013 03:12:50 +0000 Received: from localhost ([127.0.0.1]:55687 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1USInh-0004XF-GM for submit <at> debbugs.gnu.org; Tue, 16 Apr 2013 23:12:50 -0400 Received: from mail-ve0-f182.google.com ([209.85.128.182]:42500) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <lucas.demarchi@HIDDEN>) id 1USInc-0004Wl-MJ for 10359 <at> debbugs.gnu.org; Tue, 16 Apr 2013 23:12:45 -0400 Received: by mail-ve0-f182.google.com with SMTP id da11so1061713veb.27 for <10359 <at> debbugs.gnu.org>; Tue, 16 Apr 2013 20:08:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:from:date:message-id:subject:to :content-type:x-gm-message-state; bh=R5fiRToV0duB4wVrSh06NlTvOlgCzPxN2YGoXmW6xfE=; b=mqucykuo+aS+YdR03atPzuK/g191+nEBwucPLbIaVo71JAP+TVa0hNoNPg2PU6buea wx0Pdkhbo2m++105MtnDMXFLFZ7FmJQcBlgH6NtQpAa6gC/HaVqpJtsb/GNz+cOxgeFM 59thRC/Bgww5BUhYYc3RGcs/yAy8XMeVZ53ym2a8ww3YI7/4k8+mupxg+L7CDjoWd6Me jwSI0SmentCFscW8rXbr7nJTWnSxMe/wNEqKKS5EyxOcBlW+Tx47PxddI2iWWFKatvF7 6VmTZamCDJ8GBc6/TITKucW+nwPt0JcL1Y5KqbL2EmxKE6CPaxmKgQykq19DcbSnPUpW 71Hw== X-Received: by 10.52.179.105 with SMTP id df9mr3069439vdc.49.1366168103817; Tue, 16 Apr 2013 20:08:23 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.46.9 with HTTP; Tue, 16 Apr 2013 20:08:03 -0700 (PDT) From: Lucas De Marchi <lucas.demarchi@HIDDEN> Date: Wed, 17 Apr 2013 00:08:03 -0300 Message-ID: <CAMOw1v4CnFr8=xUGQUBpssv0=+r1uyNVYEo2GRJixb85AmU-4A@HIDDEN> Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQmIfvjXkgpRTWD2bnMnMUWG0AgrHauab6Xm8RM3ir43G4xxheV9uSJq4ANItRIjhFBiMKuN X-Spam-Score: 0.1 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -2.6 (--) There wasn't any update on this... It's still buggy. Could anyone point to the right direction? Lucas De Marchi
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.