On Mon, Feb 10, 2014 at 9:15 PM, Ilia Mirkin <[email protected]> wrote:
> I may be showing signs of idiocy here, but... I don't at all
> understand what you're saying. Could you elaborate as to the specific
> example you have in mind where open(filename) differs from
> open(os.path.realpath(filename))? The example that I have is where
> "filename" is a fake symlink generated by the shell (or kernel, not
> sure), and dereferencing it is harmful. That's why I've removed the
> symlink dereference. In any other instance, open() would just follow
> the symlink just like realpath would...
>
>   -ilia

The resolving of the real path is to resolve problems with relative
file paths and a system where the piglit's files and folders are read
only.
_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to