Project

General

Profile

« Previous | Next » 

Revision ca9c0f91

Added by tenderlovemaking (Aaron Patterson) 30 days ago

[rubygems/rubygems] Use File#chmod rather than FileUtils.chmod

We already have the open file descriptor, so we can avoid the overhead
of resolving the filepath (as well as the overhead inside FileUtils)
by just calling chmod on the file descriptor itself.

https://github.com/rubygems/rubygems/commit/60c14bbeee