[Bf-committers] Re: [Bf-blender-cvs] CVS commit: blender/source/blender/src language.c

Alexander Ewering blender at instinctive.de
Wed Mar 2 13:47:51 CET 2005


On Wed, 2 Mar 2005, Stephen Swaney wrote:

> This is a FAQ on comp.lang.c:
>
> Q: How can my program discover the complete pathname to the
> executable from which it was invoked?
>
> A: argv[0] may contain all or part of the pathname.  You may be
> able to duplicate the command language interpreter's search path
> logic to locate the executable.

Well, I see I was wrong here then.

Then, I guess the only correct way to finally get this fixed is implementing
a real install rule in the Makefiles. For debian/rpm packages, this is
no problem anyway.

| alexander ewering              instinctive mediaworks
| ae[@]instinctive[.]de   http://www[.]instinctive[.]de


More information about the Bf-committers mailing list