On Fri, Sep 14, 2012 at 6:01 AM, Roland Mainz <roland.ma...@nrubsig.org> wrote:
> - If files or directories are opened relative to /dev/fd/$fd/$path
> |sfopen()|/|sfopenat()| will now bypass the /dev/fd filesystem
> completely (which gives a nice performance boost). The only exception
> is that this can *NOT* be done for a plain /dev/fd/$fd, e.g.
> /dev/fd/15. The problem is that there is AFAIK no way to open a file
> from a file descriptor without using the /dev/fd filesystem or using
> |dup()| ... but |dup()| rules itself out because the resulting
> "cloned" fd still shares attributes like the current seek position
> with the original fd...

I don't want to nitpick, but wouldn't -d for directory more
appropriate instead of -f?

Simon
_______________________________________________
ast-developers mailing list
ast-developers@research.att.com
https://mailman.research.att.com/mailman/listinfo/ast-developers

Reply via email to