aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--lib/tmpdir.rb5
2 files changed, 5 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index a2e50e8760..9571cdf9d6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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