cremno
ce5a3dbcba
add mrb_debug_strdup() and mrb_debug_strndup()
...
They behave similar to their POSIX equivalents, except
mrb_malloc_simple() is used for memory allocation and
errno might not be set since ISO C99 doesn't have ENOMEM.
2014-12-02 00:00:54 +01:00
Yukihiro "Matz" Matsumoto
1365151dcb
Merge pull request #2652 from cremno/mrdb-add-missing-null-termination
...
mrdb: add missing null-termination
2014-11-26 01:05:04 +09:00
cremno
553b9df306
free memory used by breakpoints
2014-11-26 00:43:39 +09:00
cremno
1cc6eaca2a
free return value of dirname()
2014-11-26 00:43:39 +09:00
Hiroshi Mimaki
251dbca8e2
Merge pull request #2644 from cremno/mrdb-minor-changes
...
mrdb: minor changes
2014-11-25 14:11:57 +09:00
cremno
5f1e90fc58
add missing null-termination
2014-11-25 01:46:06 +01:00
Tatsuhiko Kubo
48a04ff1b4
use mrb_str_xxx_lit for mrdb.
2014-11-22 10:43:01 +09:00
cremno
c9c0f9a79b
remove const type qualifier
...
clang 3.5.0 with -Wextra produces a -Wignored-qualifiers diagnostic.
2014-11-20 02:39:48 +01:00
cremno
c2bc44e131
don't convert function pointer to object pointer
2014-11-20 02:39:47 +01:00
cremno
337395c1ee
remove cast
...
C99+TC3, 7.19.7.1p2: [...] the fgetc function obtains that character as
an unsigned char converted to an int [...]
2014-11-20 02:39:46 +01:00
cremno
83c48ff966
fix heap-use-after-free
2014-11-20 00:55:46 +01:00
mimaki
e5bacc03f2
Add mruby debugger (mrdb)
2014-11-18 23:33:32 +09:00