diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-04-24 11:53:31 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-04-24 11:53:31 +0000 |
commit | 869c7ce0d148845d42dd88d9df7925e62aebe7a1 (patch) | |
tree | 78ef2aa44304130beb965b98069fa80fc426f17f | |
parent | 7f87816a89cfd5bc0214fca7f7ed49e681364365 (diff) | |
download | ruby-869c7ce0d148845d42dd88d9df7925e62aebe7a1.tar.gz |
* lib/tmpdir.rb: Don't need to rescue LoadError for etc.so.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | lib/tmpdir.rb | 5 |
2 files changed, 5 insertions, 4 deletions
@@ -1,3 +1,7 @@ +Thu Apr 24 20:53:02 2014 Tanaka Akira <akr@fsij.org> + + * lib/tmpdir.rb: Don't need to rescue LoadError for etc.so. + Thu Apr 24 17:39:53 2014 NARUSE, Yui <naruse@ruby-lang.org> * file.c (statfs_inspect): suppress warnings. diff --git a/lib/tmpdir.rb b/lib/tmpdir.rb index 2161768576..a3bb9f4935 100644 --- a/lib/tmpdir.rb +++ b/lib/tmpdir.rb @@ -5,10 +5,7 @@ # require 'fileutils' -begin - require 'etc.so' -rescue LoadError -end +require 'etc.so' class Dir |