1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* transcode.c: Added a check for an internal error

(with Tatsuya Mizuno)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
duerst 2009-11-25 10:28:45 +00:00
parent 1adc3d1c4f
commit 80b54214b2
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,8 @@
Wed Nov 25 19:30:30 2009 Martin Duerst <duerst@it.aoyama.ac.jp>
* transcode.c: Added a check for an internal error
(with Tatsuya Mizuno)
Tue Nov 24 22:57:46 2009 Tanaka Akira <akr@fsij.org>
* test/ruby/envutil.rb (EnvUtil.invoke_ruby): raise Timeout::Error

View file

@ -674,6 +674,8 @@ transcode_restartable0(const unsigned char **in_pos, unsigned char **out_pos,
goto invalid;
case UNDEF:
goto undef;
default:
rb_raise(rb_eRuntimeError, "unknown transcoding instruction");
}
continue;