summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-07-10 01:46:04 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-07-10 01:46:04 +0000
commitf7946774dd2dda12bc4c538b79c4b1af3b87a903 (patch)
tree3b887490f108f731a8a5fdd7ea8f0a178d80eb47
parent53934115007a58a8e41e7687f03394455f126edc (diff)
stringio.c: remove unnecessary check
* ext/stringio/stringio.c (writable): remove unnecessary check for deprecated safe level 4. [Fix GH-963] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--ext/stringio/stringio.c2
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 694edeb..7f43f3f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Fri Jul 10 10:46:02 2015 ksss <co000ri@gmail.com>
+
+ * ext/stringio/stringio.c (writable): remove unnecessary check for
+ deprecated safe level 4. [Fix GH-963]
+
Thu Jul 9 15:07:12 2015 NAKAMURA Usaku <usa@ruby-lang.org>
* win32/win32.c (waitpid): return immediately if interrupted.
diff --git a/ext/stringio/stringio.c b/ext/stringio/stringio.c
index 89cc392..3a59226 100644
--- a/ext/stringio/stringio.c
+++ b/ext/stringio/stringio.c
@@ -139,8 +139,6 @@ writable(VALUE strio)
if (!WRITABLE(strio)) {
rb_raise(rb_eIOError, "not opened for writing");
}
- if (!OBJ_TAINTED(ptr->string)) {
- }
return ptr;
}