diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-11-13 14:05:26 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-11-13 14:05:26 +0900 |
| commit | af13cfb7d5b7ddbadada80931d2f0d856d72170b (patch) | |
| tree | dd610752a1233045aa8120746036d35464b2b83f /mrbgems/mruby-io/src | |
| parent | 280cb80a0dbcd1a32a8e14c859517de8f1816787 (diff) | |
| parent | 89f591485b91780c213f459f840111a99adca9d0 (diff) | |
| download | mruby-af13cfb7d5b7ddbadada80931d2f0d856d72170b.tar.gz mruby-af13cfb7d5b7ddbadada80931d2f0d856d72170b.zip | |
Merge pull request #5122 from shuujii/change-name-and-usage-of-presym-macros
Change name and usage of presym macros
Diffstat (limited to 'mrbgems/mruby-io/src')
| -rw-r--r-- | mrbgems/mruby-io/src/io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mrbgems/mruby-io/src/io.c b/mrbgems/mruby-io/src/io.c index 54a806091..0ee68b725 100644 --- a/mrbgems/mruby-io/src/io.c +++ b/mrbgems/mruby-io/src/io.c @@ -113,7 +113,7 @@ io_set_process_status(mrb_state *mrb, pid_t pid, int status) } else { v = mrb_fixnum_value(WEXITSTATUS(status)); } - mrb_gv_set(mrb, mrb_intern_cstr(mrb, "$?"), v); + mrb_gv_set(mrb, mrb_intern_lit(mrb, "$?"), v); } static int |
