aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--ext/pty/pty.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f85afbd8ab..3dfde6bf42 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Wed Jun 1 07:26:19 2011 Eric Hodel <drbrain@segment7.net>
+
+ * ext/pty/pty.c (pty_check): Restore "not reached" comment.
+ [Ruby 1.9 - Bug #4756]
+
Wed Jun 1 07:21:40 2011 Eric Hodel <drbrain@segment7.net>
* ext/zlib/zlib.c: Fix document-method declarations for set_sync and
diff --git a/ext/pty/pty.c b/ext/pty/pty.c
index 3e5fa8ea99..1461d28262 100644
--- a/ext/pty/pty.c
+++ b/ext/pty/pty.c
@@ -648,7 +648,7 @@ pty_check(int argc, VALUE *argv, VALUE self)
if (!RTEST(exc)) return rb_last_status_get();
raise_from_check(cpid, status);
- return Qnil;
+ return Qnil; /* not reached */
}
static VALUE cPTY;