mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
* string.c (rb_str_replace): swap arguments of OBJ_INFECT.
* eval.c (rb_thread_schedule): should not select a thread which is not yet initialized. * time.c (time_plus): wrong boundary check. * time.c (time_minus): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
cd956b3114
commit
35f851bcfe
14 changed files with 135 additions and 77 deletions
|
@ -62,7 +62,7 @@ static VALUE cSyslog_open(int argc, VALUE *argv, VALUE self)
|
|||
fac = INT2NUM(LOG_USER);
|
||||
}
|
||||
|
||||
Check_SafeStr(ident);
|
||||
SafeStringValue(ident);
|
||||
syslog_ident = ident;
|
||||
syslog_options = opt;
|
||||
syslog_facility = fac;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue