1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Fix fd leak

merged https://github.com/rubygems/rubygems/pull/2765
This commit is contained in:
Nobuyoshi Nakada 2019-05-16 14:58:57 +09:00
parent fadab0f9fb
commit 18e43e8231
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60

View file

@ -2898,7 +2898,7 @@ duplicate dependency on c (>= 1.2.3, development), (~> 1.2) use:
util_setup_validate
FileUtils.mkdir_p File.join(@tempdir, 'bin')
File.open File.join(@tempdir, 'bin', 'exec'), 'w'
File.write File.join(@tempdir, 'bin', 'exec'), ''
FileUtils.mkdir_p File.join(@tempdir, 'exec')
use_ui @ui do