This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: one week to gdb-7.6 release?


> Date: Mon, 25 Mar 2013 18:14:55 +0200
> From: Eli Zaretskii <eliz@gnu.org>
> 
> > 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]