aboutsummaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2019-10-18 12:25:15 -0700
committerJeremy Evans <code@jeremyevans.net>2019-11-18 01:00:25 +0200
commit17e8a6eff4954a37966c10f35db6551fce1d80a7 (patch)
tree914f532e07af6bdf91b9f678e10d3bb825b4edd9 /ext
parent398cd3cc7dda375c2d21355057c11ecb4abeda70 (diff)
downloadruby-17e8a6eff4954a37966c10f35db6551fce1d80a7.tar.gz
[ruby/io-console] Remove taint support
Ruby 2.7 deprecates taint and it no longer has an effect. The lack of taint support should not cause a problem in previous Ruby versions.
Diffstat (limited to 'ext')
-rw-r--r--ext/io/console/console.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/io/console/console.c b/ext/io/console/console.c
index 4f0470940a..42b000fc30 100644
--- a/ext/io/console/console.c
+++ b/ext/io/console/console.c
@@ -1483,7 +1483,6 @@ prompt(int argc, VALUE *argv, VALUE io)
if (argc > 0 && !NIL_P(argv[0])) {
VALUE str = argv[0];
StringValueCStr(str);
- rb_check_safe_obj(str);
rb_io_write(io, str);
}
}