Re: [AD] [4.3] get_executable_name |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On 2006-08-29, Thomas Fjellstrom <tfjellstrom@xxxxxxxxxx> wrote:
> On Tuesday 29 August 2006 9:29 pm, Peter Wang wrote:
> > On 2006-08-29, Thomas Fjellstrom <tfjellstrom@xxxxxxxxxx> wrote:
> > > On Tuesday 29 August 2006 9:23 pm, Peter Wang wrote:
> > > > On 2006-08-29, Thomas Fjellstrom <tfjellstrom@xxxxxxxxxx> wrote:
> > > > > Just why does that function go out of its way to be as complicated as
> > > > > possible?
> > > > >
> > > > > Are there really unix systems where you cant use getcwd (relative
> > > > > paths in argv) and argv[0] ?
> > > >
> > > > (1) Where do you get argv[0] from? We used to use END_OF_MAIN().
> > >
> > > Allegro aught to be passed argv and argc. explicitly.
> >
> > We couldn't change the interface.
>
> Ok. Can we now?
I wouldn't mind. The compatibility layer might have to change the
interface of get_executable_name() so that it can return failure though.
Peter