Skip to content

Commit

Permalink
* regint.c (xmalloc, xrealloc, xfree): not to use ruby managed memory.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
nobu committed Jul 25, 2008
1 parent 7c8ad08 commit f37a49e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Fri Jul 25 19:50:49 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>

* regint.c (xmalloc, xrealloc, xfree): not to use ruby managed memory.

Fri Jul 25 15:52:40 2008 Koichi Sasada <ko1@atdot.net>

* vm.c (vm_invoke_proc): skip setting safe_level if
Expand Down
4 changes: 4 additions & 0 deletions regint.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@
/* escape other system UChar definition */
#ifndef RUBY_DEFINES_H
#include "ruby/ruby.h"
#undef xmalloc
#undef xrealloc
#undef xcalloc
#undef xfree
#endif
#ifdef ONIG_ESCAPE_UCHAR_COLLISION
#undef ONIG_ESCAPE_UCHAR_COLLISION
Expand Down

0 comments on commit f37a49e

Please sign in to comment.