diff options
| author | cremno <[email protected]> | 2014-07-09 15:32:13 +0200 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-07-12 20:36:44 +0900 |
| commit | 85bb1f92ef74a85488700c556b60e6ac7933e822 (patch) | |
| tree | 8b2cf0783e8b4b24af57de23df6a5d537f53d75f /src/dump.c | |
| parent | c9b7cee2f6b0cf7029237444da819d0783ea78ba (diff) | |
| download | mruby-85bb1f92ef74a85488700c556b60e6ac7933e822.tar.gz mruby-85bb1f92ef74a85488700c556b60e6ac7933e822.zip | |
rewrite stripping
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.
Diffstat (limited to 'src/dump.c')
0 files changed, 0 insertions, 0 deletions
