[HURD PATCH 7/7] _hurd_exec_file_name: canonicalize filename
Jeremie Koenig
jk@jk.fr.eu.org
Mon Aug 22 01:48:00 GMT 2011
On Wed, Aug 17, 2011 at 09:35:32PM +0200, Jeremie Koenig wrote:
> hurd/hurdexec.c (_hurd_exec_file_name): Canonicalize filename.
Actually, there's an issue with this. Namely, when running shell scripts
the canonical name is used instead of the one originally provided to
_hurd_exec_file_name().
As a consequence, some shell scripts will fail if they're sensitive to $0.
For instance this is the case with /usr/bin/update-fontlang (in the
tex-common package on Debian).
I guess we have no choice but to canonicalize in ld.so. I'll see what I
can come up with.
--
Jeremie Koenig <jk@jk.fr.eu.org>
http://jk.fr.eu.org
More information about the Libc-alpha
mailing list