[TuxKart-devel] Re: Location sysem
Status: Alpha
Brought to you by:
sjbaker
From: Ricardo C. <ri...@ae...> - 2004-06-27 20:52:39
|
The link is this: http://rpmcruz.planetaclix.pt/repository/system/ It is offline currently. Have to pay the bill. :D Ricardo Em Domingo, 27 de Junho de 2004 13:31, escreveu: > Hey there, > > I noticed that TuxKart doesn't make a very smart checking where it is > placed. Just looks at local dir, up dir and system chunk (/usr). > Smarter location checking would be: > - asking proc for the binary directory; > - look at the way the binary was executed - won't be able to get the > location for symlinks. > > An implementation of the last one is here: > http:// > > By the way, using chdir() is kinda of ugly. What about having a global > string? > > Best fix, however, would be to make Linux file manager to execute binaries > from their own dir. > > Cheers, > Ricardo > (blacksheep from Linux Game Tome) -- Stupidity, like virtue, is its own reward. |