bug-hurd
[Top][All Lists]
Advanced

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

Re: BUG: /proc/self/exe reports relative paths, should always return abs


From: Samuel Thibault
Subject: Re: BUG: /proc/self/exe reports relative paths, should always return absolute paths?
Date: Mon, 18 Sep 2017 20:56:35 +0200
User-agent: NeoMutt/20170113 (1.7.2)

Svante Signell, on lun. 18 sept. 2017 19:45:39 +0200, wrote:
> lrwxr-xr-x 1 root root 26 Aug 17 07:38 /usr/sbin/update-fmtutil -> update-tl-
> stacked-conffile
> 
> In this case the link name should not be resolved. Any ideas?

Well, it should, but just not the symlink parts, only the cwd part.

Perhaps we could simply to check whether the file_name begins with a
'/', in case we can keep as it is, or not, in which case we can just
prepend the getcwd().

Samuel



reply via email to

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