bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HURD PATCH 7/7] _hurd_exec_file_name: canonicalize filename


From: Jeremie Koenig
Subject: Re: [HURD PATCH 7/7] _hurd_exec_file_name: canonicalize filename
Date: Mon, 22 Aug 2011 03:31:29 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]