# Code Review: gets-1

**URL:** <https://www.ruby-forum.com/t/code-review-gets-1/146417>\
**Category:** IronRuby\
**Created:** [August 20, 2008, 9:02pm UTC](https://www.ruby-forum.com/t/code-review-gets-1/146417 "2008-08-20T21:02:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![John\_LSSIRONRUBY](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/4491bb/32.png) [@John\_LSSIRONRUBY](https://www.ruby-forum.com/u/John_LSSIRONRUBY)\
**Post date:** [August 20, 2008, 9:02pm UTC](https://www.ruby-forum.com/t/code-review-gets-1/146417/1 "2008-08-20T21:02:35Z")

</div>

tfpt review “/shelveset:gets-1;REDMOND\jflam”

Comment :

- Fixes rubyforge bug #21342 - “gets” broken
- Adds code to test for closed streams
- Adds tainting to input returned from gets
- Adjusts input line correctly in # RubyExecutionContext
- Fixes getc to return a fixnum as opposed to a .NET char
- Fixes thunk from Kernel#gets to IO#gets
