diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-10-04 09:24:00 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-10-04 09:24:00 +0000 |
| commit | cc6197094a491bd1273ec8d0e5d506aeab9e3fe5 (patch) | |
| tree | 0840b71184f205b129416e3b02093525cc74af75 /include/ruby | |
| parent | 402d94e83813dceb30b9c0a809852b3fc5c10ba6 (diff) | |
| download | ruby-cc6197094a491bd1273ec8d0e5d506aeab9e3fe5.tar.gz ruby-cc6197094a491bd1273ec8d0e5d506aeab9e3fe5.tar.xz ruby-cc6197094a491bd1273ec8d0e5d506aeab9e3fe5.zip | |
* re.c (rb_memcmp): no longer useful without ruby_ignorecase.
* re.c (rb_reg_prepare_re): revert recompile condition.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby')
| -rw-r--r-- | include/ruby/intern.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ruby/intern.h b/include/ruby/intern.h index 500ec6a35..2684076a1 100644 --- a/include/ruby/intern.h +++ b/include/ruby/intern.h @@ -442,7 +442,7 @@ VALUE rb_range_beg_len(VALUE, long*, long*, long, int); unsigned long genrand_int32(void); double genrand_real(void); /* re.c */ -int rb_memcmp(const void*,const void*,long); +#define rb_memcmp(a,b,c) memcmp(a,b,c) int rb_memcicmp(const void*,const void*,long); long rb_memsearch(const void*,long,const void*,long); VALUE rb_reg_nth_defined(int, VALUE); |
