[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.
[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