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: Svante Signell
Subject: Re: BUG: /proc/self/exe reports relative paths, should always return absolute paths?
Date: Sun, 24 Sep 2017 15:17:02 +0200

On Fri, 2017-09-22 at 20:27 +0200, Samuel Thibault wrote:
> Hello,
> 
> > +  file_t file = __file_name_lookup (file_name, O_EXEC, 0);
> 
> This creates a file_t, so return paths have to deallocate it (just
> like it is done at the end of the function).

Fixed.

> Along the way, you could move the declaration f the char *cwd
> variable
> on the cwd = getcwd() line, it'll be just a little bit better :)

Done.

Attachment: submitted-exec_filename.diff
Description: Text Data


reply via email to

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