mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
85bb1f92ef
Previous version ignored some errors, and didn't free memory and close files.
Now no memory will be dynamically allocated to simplify error handling.
This commit also fixes a wrong check:
files[i] = fopen(argv[i], "wb");
if (!ireps[i]) {
Improve error messages a bit and add missing newline to one.