aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* stripped trailing spaces.nobu2009-02-2243-849/+847
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (tr_trans): should recalculate coderange.nobu2009-02-223-2/+20
| | | | | | | [ruby-core:22326] (reopened at [ruby-core:22328]) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_string.rb (test_tr): test for [ruby-core:22328].nobu2009-02-221-3/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/option.c (inspect_linger): message refined.akr2009-02-222-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/init.c (s_recvfrom): use rb_io_wait_readable afterakr2009-02-222-0/+8
| | | | | | | | recvfrom. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: [ruby-core:22326] has been fixed at r22505.nobu2009-02-221-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/option.c (inspect_errno): new function.akr2009-02-222-1/+22
| | | | | | | (sockopt_inspect): use inspect_errno for SO_ERROR. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (Init_Regexp): define Regexp::FIXEDENCODING. [ruby-dev:38066]akr2009-02-222-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (tr_trans): should not be affected by the encoding ofnobu2009-02-223-6/+31
| | | | | | | replacement unless actually modified. [ruby-talk:328967] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/init.c (s_recvfrom_nonblock): handles EAGAIN too.nobu2009-02-222-2/+23
| | | | | | | | * ext/socket/init.c (s_accept_nonblock): ditto, and EPROTO depends on platforms. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc update.akr2009-02-221-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (ruby_options): evaluator now expects iseq instead of tree.yugui2009-02-223-7/+13
| | | | | | * ruby.c (ruby_process_options): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (configure): unset PWD to use symlink to buildingnobu2009-02-222-2/+5
| | | | | | | directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (up): cd doesn't need LC_TIME, VCS needs.nobu2009-02-222-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_eval.c (method_missing): should not pop cfp if missing methodnobu2009-02-221-0/+11
| | | | | | | | | | | | | is method_missing. [ruby-core:22298] * vm_eval.c (rb_raise_method_missing): new function to directly raise NoMethodError. * vm_insnhelper.c (vm_call_method): fixed the case method_missing is missing. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_eval.c (method_missing): should not pop cfp if missing methodnobu2009-02-224-21/+62
| | | | | | | | | | | | | is method_missing. [ruby-core:22298] * vm_eval.c (rb_raise_method_missing): new function to directly raise NoMethodError. * vm_insnhelper.c (vm_call_method): fixed the case method_missing is missing. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pathname.rb (Pathname#binread): added. [ruby-dev:37952]matz2009-02-212-1/+15
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/ancdata.c (bsock_recvmsg_internal): handle EMSGSIZE asakr2009-02-212-2/+12
| | | | | | | well. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/ancdata.c (bsock_recvmsg_internal): check max lengthakr2009-02-212-0/+11
| | | | | | | overflow. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/ancdata.c (bsock_recvmsg_internal): don't callakr2009-02-212-2/+8
| | | | | | | discard_cmsg_resource when EMFILE. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/ancdata.c (bsock_recvmsg_internal): gc when SCM_RIGHTSakr2009-02-212-2/+29
| | | | | | | hit the file descriptor limit. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_getpartial): error message describes what should beakr2009-02-217-5/+131
| | | | | | | | | | | | | | | | | waited after nonblocking error. (rb_io_write_nonblock): ditto. * ext/socket/init.c (s_recvfrom_nonblock): ditto. (s_accept_nonblock): ditto. * ext/socket/socket.c (sock_connect_nonblock): ditto. * ext/socket/ancdata.c (bsock_sendmsg_internal): ditto. (bsock_recvmsg_internal): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-02-22svn2009-02-211-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/ancdata.c (bsock_recvmsg_internal): check recvmsg errorakr2009-02-212-3/+8
| | | | | | | earlier. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc update.akr2009-02-211-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-02-21svn2009-02-211-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mention the platform which causes cmsg_len > msg_controllen.akr2009-02-211-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-02-20svn2009-02-201-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * util.c (rv_alloc, freedtoa): use our normal xmalloc()/xfree() becauseusa2009-02-203-17/+21
| | | | | | | | | | | | | | couldn't free the returned pointer from ruby_dtoa(). * missing/vsnprintf.c (cvt): receive buffer and use/return it instead of returning the pointer returned from BSD__dtoa(). * missing/vsnprintf.c (BSD_vfprintf): pass buf to cvt() as the buffer. [ruby-core:22184] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/ancdata.c (make_io_for_unix_rights): cmsg_len may beakr2009-02-192-11/+21
| | | | | | | | bigger than msg_controllen. freeze unix_rights array. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/ancdata.c (bsock_recvmsg_internal): fix exception.akr2009-02-192-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/ancdata.c (ancillary_unix_rights): method renamed.akr2009-02-193-15/+19
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * template/fake.rb.in: extracted from Makefile.in.nobu2009-02-194-17/+26
| | | | | | | * configure.in (fake.rb): prefixed with $(arch)-. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_ocsp.c (ossl_ocspbres_verify): OCSP_basic_verifynobu2009-02-192-4/+9
| | | | | | | returns positive value on success, not non-zero. [ruby-core:21762] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tmpdir.rb (@@systmpdir): File.expand_path also joins paths.nobu2009-02-192-4/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/etc/etc.c (etc_each_group): defines only when Etc::Group isnobu2009-02-192-2/+7
| | | | | | | available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval_intern.h (translit_char): moved from ruby.c.nobu2009-02-196-32/+42
| | | | | | | | | | * load.c (load_ext): transliterates file separators and back if needed. * symbian/setup (DLN_NEEDS_ALT_SEPARATOR): defined. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, */Makefile.sub (LOAD_RELATIVE): moved from ruby.cnobu2009-02-195-10/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (darwin): uses -unexported_symbol option of ld insteadnobu2009-02-192-3/+9
| | | | | | | of objcopy git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (darwin): makes dylib instead of so.nobu2009-02-192-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile): added phony targets.nobu2009-02-192-2/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile): removes directories in the depthnobu2009-02-192-3/+5
| | | | | | | order. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile): creates target directories beforenobu2009-02-192-2/+6
| | | | | | | copying. [ruby-core:21958] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_home_dir): checks if HAVE_PWD_H. [ruby-dev:38049] nobu2009-02-192-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/rubysocket.h: add "#include <sys/stat.h>"takano322009-02-182-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/ancdata.c (ancillary_rights): new method.akr2009-02-183-10/+73
| | | | | | | | | | (make_io_for_rights): new function to allocate IOs for FDs in SCM_RIGHTS message. (bsock_recvmsg_internal): use make_io_for_rights. So the FDs can be closed by GC. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Sync with README.EXT.ja.knu2009-02-181-1/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * README.EXT, README.EXT.ja: Improve the document aboutknu2009-02-183-74/+78
| | | | | | | rb_scan_args() even more. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_file_exhaustive.rb: skip some tests if euid == 0.mame2009-02-182-1/+14
| | | | | | | a patch from Lucas Nussbaum in [ruby-core:22209]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-02-19svn2009-02-181-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e