Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'exit' or 'quit' command doesn't work in mirb. #2253

Closed
suzukaze opened this issue May 14, 2014 · 0 comments
Closed

'exit' or 'quit' command doesn't work in mirb. #2253

suzukaze opened this issue May 14, 2014 · 0 comments

Comments

@suzukaze
Copy link
Contributor

support comments in user-input; also add checks for buffer overflow a38f8fe606a526af56a0ed41113c7f9ac7cb5314

$ mirb
mirb - Embeddable Interactive Ruby Shell

> exit
(mirb):1: undefined method 'exit' for main (NoMethodError)
> quit
(mirb):2: undefined method 'quit' for main (NoMethodError)

In mirb 'exit' or 'quit' command works with the following commit.
4e357a4963e45a1d32d96a1ee1f1c90f246df3a6 protect argument array from GC in OP_ENTER

yui-knk added a commit to yui-knk/mruby that referenced this issue May 14, 2014
@matz matz closed this as completed in 0651051 May 15, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant