KStandardDirs and Autopackage

Leo Savernik l.savernik at aon.at
Sun Apr 18 19:35:25 BST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Sonntag 18 April 2004 20:18 schrieb Arend van Beelen jr.:
[...]
> BinReloc queries the kernel to ask the path of the executable that's being
> run. Logically, the kernel will provide the path of the real executable,
> not the symlink (as you can't run a symlink). You might be able to fool it
> using hard-links, but that's not really surprising I'd say.

I don't want to fool it. I always want the real path, never the symlinked one, 
otherwise the prefix is wrong.

I just confirmed it:
% readlink /proc/self/exe
/usr/share/texmf/teTeX/bin/i386-linux-glibc/readlink

% type readlink
/usr/bin/readlink

So it's doing exactly the right thing :-)

>
> [...]

mfg
	Leo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQFAgsptj5jssenUYTsRAvE3AJ9cNDaTYEKpEX03XsSiU4X4/SBCbwCguXMp
6tQhIsaXBNyZqouBNwjuPdY=
=QwId
-----END PGP SIGNATURE-----




More information about the kde-core-devel mailing list