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

2017-09-18 Thread Svante Signell
On Sun, 2017-09-17 at 20:27 +0200, Samuel Thibault wrote: > Hello, > > Svante Signell, on ven. 15 sept. 2017 14:09:05 +0200, wrote: > > Patch updated: > > This looks good, I'll commit that, thanks! Sadly I found a bug with the current implementation for shell scripts: ls -l /usr/sbin/update-fmt

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

2017-09-18 Thread Samuel Thibault
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. Pe

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

2017-09-18 Thread Samuel Thibault
(good catch, btw :) ) Samuel