From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30643 invoked by alias); 25 Mar 2013 16:27:54 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 30617 invoked by uid 89); 25 Mar 2013 16:27:47 -0000 Received: from sibelius.xs4all.nl (HELO glazunov.sibelius.xs4all.nl) (83.163.83.176) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Mon, 25 Mar 2013 16:27:47 +0000 Received: from glazunov.sibelius.xs4all.nl (kettenis@localhost [127.0.0.1]) by glazunov.sibelius.xs4all.nl (8.14.5/8.14.3) with ESMTP id r2PGRi5u009985; Mon, 25 Mar 2013 17:27:44 +0100 (CET) Received: (from kettenis@localhost) by glazunov.sibelius.xs4all.nl (8.14.5/8.14.3/Submit) id r2PGRheU015551; Mon, 25 Mar 2013 17:27:43 +0100 (CET) Date: Mon, 25 Mar 2013 19:08:00 -0000 Message-Id: <201303251627.r2PGRheU015551@glazunov.sibelius.xs4all.nl> From: Mark Kettenis To: eliz@gnu.org CC: brobecker@adacore.com, gdb-patches@sourceware.org, palves@redhat.com, jan.kratochvil@redhat.com, ralf.corsepius@rtems.org, vapier@gentoo.org, joel.sherrill@oarcorp.com In-reply-to: <83k3ov1mo0.fsf@gnu.org> (message from Eli Zaretskii on Mon, 25 Mar 2013 18:14:55 +0200) Subject: Re: one week to gdb-7.6 release? References: <20130320160032.GC5447@adacore.com> <83vc8myoyb.fsf@gnu.org> <83ehf64cfs.fsf@gnu.org> <20130323162534.GI5447@adacore.com> <834ng23soj.fsf@gnu.org> <20130325151825.GJ5447@adacore.com> <83k3ov1mo0.fsf@gnu.org> X-SW-Source: 2013-03/txt/msg00942.txt.bz2 > Date: Mon, 25 Mar 2013 18:14:55 +0200 > From: Eli Zaretskii > > > What I would do is add a comment inside the posix implementation that > > the current use of this function is such that returning a copy of > > the argument is sufficient. That way, someone finding that the function > > finally needs to be implemented will understand the history. > > I think on Posix platforms, the way to convert argv[0] to an absolute > file name is to search PATH. Not really; argv[0] can be set to anything. It's just convention that it gets set to the name of the program being executed.