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

mrbc: exit if "-o" is specified multiple times #965

Merged
merged 1 commit into from Mar 7, 2013

Conversation

cremno
Copy link
Contributor

@cremno cremno commented Mar 7, 2013

If "-o" is specified more than once, mrbc leaks memory (outfile). Because I saw no reason for "-o" to be specified multiple times, I decided that mrbc should exit in that case.

matz added a commit that referenced this pull request Mar 7, 2013
mrbc: exit if "-o" is specified multiple times
@matz matz merged commit f9fd5d9 into mruby:master Mar 7, 2013
@mattn
Copy link
Contributor

mattn commented Mar 8, 2013

This is useful to debug core. When add puts into core, mrbc put it on output, so build will fail. I'll send pull-req to change build staff.

@mattn
Copy link
Contributor

mattn commented Mar 8, 2013

Ah, Sorry, I was confused.

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

Successfully merging this pull request may close these issues.

None yet

3 participants