matz
ece972717b
security enhancement of dl library (need test).
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-24 09:38:37 +00:00
ttate
ab7dac4027
Added rb_secure(4). (Thanks to Minero Aoki)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-24 07:56:37 +00:00
michal
4e13d36561
-Wall cleanups (removed unused vars, no 'code has no effect' warnings)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-16 07:38:40 +00:00
knu
8eba058079
* intern.h (rb_check_array_type): Declare rb_check_array_type().
...
* ext/digest/md5/md5ossl.c: Include stdio.h for sprintf() and
string.h for memcmp().
* ext/dl/ptr.c: Include ctype.h for isdigit().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-06 11:47:53 +00:00
nobu
3780ede6ef
* ext/curses/curses.c, ext/digest/digest.c, ext/dl/handle.c,
...
ext/dl/ptr.c, ext/dl/sym.c, ext/gdbm/gdbm.c, ext/iconv/iconv.c,
ext/stringio/stringio.c, ext/strscan/strscan.c,
ext/tcltklib/tcltklib.c, ext/win32ole/win32ole.c:
use rb_define_alloc_func().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-20 11:23:40 +00:00
ttate
f51bd1d018
Fix the conversion method.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-09 04:08:22 +00:00
ttate
8e3721dfa8
Get rid of ineffective symbols, lines, constants and so on.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-07 16:42:07 +00:00
ttate
840f8bcb9e
Fixed error messages and descriptions.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-07 01:09:50 +00:00
ttate
ee9f1463df
Merged Nakada's patch [ruby-dev:18097].
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-08-29 13:00:22 +00:00
ttate
9dab5bc3b0
Multiple call of the initialize.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-08-05 01:24:13 +00:00
ttate
45a08a4296
Conform to the allocation framework.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-08-04 13:49:13 +00:00
ttate
4bf76b4e6c
rename PtrData::alloc and Struct#alloc to malloc respectively.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-20 15:35:48 +00:00
ttate
ca55fe4f0d
L641: rb_float_new(*((float*)ptr)) -> rb_float_new(*((double*)ptr)).
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-01 04:13:28 +00:00
ttate
076a82105a
ext/dl/ptr.c: missing break in switch statements.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-26 07:03:32 +00:00
ttate
75ebf39107
ext/dl/ptr.c: remove rb_dlptr_cast().
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-19 04:05:54 +00:00
ttate
3a202ff2b4
raise() -> rb_raise(). (Thanks Tetsuya Watanabe)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-11 09:38:26 +00:00
ttate
74b4c81396
Merge Nakada's patch and define StringValuePtr for ruby-1.6.
...
CV ----------------------------------------------------------------------
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-03 11:59:01 +00:00
ttate
7d711b817e
Add ruby-dl
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-02 10:56:13 +00:00