diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-06-18 14:21:03 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-06-18 14:21:03 +0000 |
commit | 5d6ca9e95058bac96140ef9394291fed08a76070 (patch) | |
tree | 42e366f472182de0a998c1d9e42b2bfd9f60d02b /signal.c | |
parent | e8ce2a92d319c20bbb9241e9a9a6c821e3599d79 (diff) |
* include/ruby/ruby.h: $SAFE=2 is now obsolete.
* dir.c, ext/fiddle/handle.c, ext/socket/basicsocket.c, file.c
gc.c, io.c, process.c, safe.c, signal.c, win32/file.c:
removed code for $SAFE=2
* test/erb/test_erb.rb, test/fiddle/test_handle.rb
test/ruby/test_env.rb: removed tests for $SAFE=2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'signal.c')
-rw-r--r-- | signal.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -418,7 +418,6 @@ rb_f_kill(int argc, const VALUE *argv) VALUE str; const char *s; - rb_secure(2); rb_check_arity(argc, 2, UNLIMITED_ARGUMENTS); switch (TYPE(argv[0])) { @@ -1280,7 +1279,6 @@ sig_trap(int argc, VALUE *argv) sighandler_t func; VALUE cmd; - rb_secure(2); rb_check_arity(argc, 1, 2); sig = trap_signm(argv[0]); |