Nobuyoshi Nakada <nobu / ruby-lang.org> wrote:
> On 2017/10/04 15:55, Eric Wong wrote:
> > Oops, not intentional.  On the other hand, does it hurt?
> 
> I don't think it hurtful, not sure if it is useful though.
> 
> ```
> $ ./ruby -v -e 'p File.setuid?(STDIN)' < /usr/bin/at
> ruby 2.5.0dev (2017-10-04 trunk 60116) [x86_64-darwin15]
> true
> ```

I think it might be useful to avoid heap allocations for
File::Stat objects (but not syscalls...).

> > I can write tests + NEWS entry for accidental new feature :)
> 
> And rdoc?

Of course :>

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>