diff options
author | Jeremy Evans <code@jeremyevans.net> | 2019-10-18 12:25:15 -0700 |
---|---|---|
committer | Jeremy Evans <code@jeremyevans.net> | 2019-11-18 01:00:25 +0200 |
commit | 17e8a6eff4954a37966c10f35db6551fce1d80a7 (patch) | |
tree | 914f532e07af6bdf91b9f678e10d3bb825b4edd9 /ext/io/console/console.c | |
parent | 398cd3cc7dda375c2d21355057c11ecb4abeda70 (diff) |
[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.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/2476
Diffstat (limited to 'ext/io/console/console.c')
-rw-r--r-- | ext/io/console/console.c | 1 |
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); } } |