aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * ext/pty/pty.c (get_device_once): delay rb_fd_set_cloexec() untilakr2011-10-242-0/+23
| | | | | | | | | grantpt() on Solaris. grantpt() doesn't work with CLOEXEC on Solaris 10. reported by Naohisa GOTO. [ruby-dev:44688] [Bug #5475] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update doc.akr2011-10-241-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Follow the error format changed by FreeBSD 9.naruse2011-10-241-2/+2
| | | | | | | | | FreeBSD 8.2's last line is "./configure: Can't open ./configure: No such file or directory\n"" but FreeBSD 9's is "cannot open ./configure: No such file or directory\n"". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-10-24svn2011-10-231-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (copy_stream_fallback_body): check nil for EOF of read method.akr2011-10-233-1/+31
| | | | | | | patch by Eric Wong. [ruby-core:39134] [Bug #5237] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/MANUAL_tcltklib.eng: fix typo.ktsj2011-10-232-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (rb_infinity, rb_nan): aggregated member initializersnobu2011-10-232-4/+9
| | | | | | need braces. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/io/wait/wait.c: ioctl(2) is declared in unistd.h on Solaris.ngoto2011-10-232-0/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/MANUAL_tcltklib.eng: fix typo. [ruby-dev:44683] [Bug #5471]ayumin2011-10-232-1/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-10-23svn2011-10-221-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_fd_set_cloexec): set close-on-exec flag only if F_GETFD isakr2011-10-222-0/+8
| | | | | | | defined. reported by Luis Lavena. [ruby-core:40281] [Bug #5470] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/openssl/test_ssl.rb (test_multibyte_read_write): start serverakr2011-10-222-14/+17
| | | | | | | for each length to avoid race condition. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/intern.h (rb_fd_set_cloexec): declared.akr2011-10-2218-46/+133
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * io.c (rb_fd_set_cloexec): new function. (ruby_dup): call rb_fd_set_cloexec to set close-on-exec flag. (rb_sysopen_internal): ditto. (rb_pipe): ditto. (io_reopen): ditto. (io_cntl): ditto. * process.c (rb_f_exec): change the default :close_others option to true. (rb_f_system): ditto. (move_fds_to_avoid_crash): call rb_fd_set_cloexec to set close-on-exec flag. (ruby_setsid): ditto. (rb_daemon): ditto. * thread_pthread.c (rb_thread_create_timer_thread): call rb_fd_set_cloexec to set close-on-exec flag. * ruby.c (load_file_internal): ditto. * file.c (rb_file_s_truncate): ditto. (file_load_ok): ditto. * random.c (fill_random_seed): ditto. * ext/pty/pty.c (chfunc): ditto. (get_device_once): ditto. * ext/openssl/ossl_bio.c (ossl_obj2bio): ditto. * ext/socket/init.c (rsock_socket): ditto. (rsock_s_accept_nonblock): ditto. (rsock_s_accept): ditto. * ext/socket/socket.c (rsock_sock_s_socketpair): ditto. * ext/socket/ancdata.c (discard_cmsg): ditto. (make_io_for_unix_rights): ditto. * ext/socket/unixsocket.c (unix_recv_io): ditto. * ext/io/console/console.c (console_dev): ditto. [ruby-core:38140] [Feature #5041] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* describe Resolv::DNS#timeouts= and Resolv::DNS::Config#timeouts=.akr2011-10-221-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/resolv.rb: fix a exception name in previous patch.akr2011-10-222-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/resolv.rb: make timeout configurable for DNS query.akr2011-10-223-1/+59
| | | | | | | patch by Eric Wong. [ruby-core:38533] [Feature #5100] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-10-22svn2011-10-211-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (rb_infinity, rb_nan): use union to prevent bus errorngoto2011-10-213-8/+22
| | | | | | | | caused by misalignment. [Bug #5469] [ruby-dev:44657] * include/ruby/missing.h (INFINITY, NAN): ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (initial_params): pack in a struct.nobu2011-10-212-5/+22
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (rb_gc_set_params): set parameters always.nobu2011-10-212-7/+7
| | | | | | | [ruby-dev:44648] [Bug #5467] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * atomic.h: change Solaris checking macro because atomic_ops can workngoto2011-10-212-1/+6
| | | | | | | not only with Sun Studio but also with Fujitsu C Compiler. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-10-21svn2011-10-201-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_ns_spki.c: Complete documentation.emboss2011-10-203-3/+128
| | | | | | | * test/openssl/test_ns_spki.rb: Integrate SPKI#to_text. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (socklist_insert, socklist_lookup, socklist_delete):usa2011-10-202-32/+84
| | | | | | | | | | | | | | | | | | new functions to wrap of st_insert(), st_lookup() and st_delete() to socklist. allocating socklist is deferred until it is really needed. * win32/win32.c (exit_handler): delete socklist only if it is initialized. * win32/win32.c (rb_w32_sysinit, StartSockets): refactoring: move initialization of select_mutex to StartSockets(). * win32/win32.c (exit_handler): refactoring: delete select_mutex only if winsock is used. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_pkcs5.c: add note on timing attacks and generalemboss2011-10-202-7/+100
| | | | | | | documentation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: forgot [Bug #5464] [ruby-dev:44632] for the previous commitngoto2011-10-201-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_eval.c (check_funcall): set array elements one-by-one to fixngoto2011-10-202-1/+9
| | | | | | | compile error with Fujitsu C Compiler 5.6 on Solaris 10 on Sparc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/defines.h (flush_register_windows): use softwarenobu2011-10-202-1/+6
| | | | | | trap on Debian Sparc 32-bit userspace. [Bug #5244] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * property.nobu2011-10-200-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/openssl/test_pkcs5.rb: add RFC 6070 tests for PBKDF2 withemboss2011-10-202-0/+102
| | | | | | | HMAC-SHA1 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * util.c (mmprepare): fix for fragmental size.nobu2011-10-204-23/+140
| | | | | | * util.c (mmswap_, mmrot3_): portability improvement. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_ns_spki.c (Init_ossl_ns_spki): Stub documentationdrbrain2011-10-192-2/+20
| | | | | | | for Netscape SPKI. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Imported minitest 2.6.2 (r6712)ryan2011-10-198-24/+119
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-10-20svn2011-10-191-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/openssl/buffering.rb: Force multi-byte strings to be treated asemboss2011-10-193-1/+42
| | | | | | | | | | | | binary data. * test/openssl/test_ssl.rb: Add test for it. Thanks to Niklas Baumstark for reporting the issue! [Ruby 1.9 - Bug #5233] [ruby-core:39120] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: fix a typo.nagachika2011-10-191-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * version.h (RUBY_RELEASE_DATE): finally declare start of 2.0 work!matz2011-10-192-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * error.c (Init_Exception): Document $! and $@. Providedrbrain2011-10-192-8/+43
| | | | | | | recommendations for creating exceptions for a library. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * error.c (Init_Exception): Add hierarchy of Exception subclasses.drbrain2011-10-192-0/+37
| | | | | | | Based on patch by Sylvain Daubert. [Ruby 1.9 - Bug #5438] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c: Reformat block args to a single standard, { |args| ... }.drbrain2011-10-192-177/+182
| | | | | | | Patch by b t. [Ruby 1.9 - Bug #5393] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Ignore extconf generated filesdrbrain2011-10-190-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-10-19svn2011-10-191-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_ssl.c: Remove set, but unused variables.emboss2011-10-196-11/+24
| | | | | | | | | | | | ext/openssl/ossl_pkey.c: ditto * ext/openssl/ossl_pkey_dh.c: Make functions passed to rb_thread_blocking_region return VALUE instead of void. ext/openssl/ossl_pkey_dsa.c: ditto ext/openssl/ossl_pkey_rsa.c: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (identhash): share with type_numhash.nobu2011-10-183-5/+10
| | | | | | * st.c (st_hashtype_num): rename from type_numhash. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_core.h (ruby_current_thread): probeprofiler has been removednobu2011-10-182-1/+6
| | | | | | long ago. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/ripper/eventids2.c (ripper_init_eventids2): separatenobu2011-10-184-16/+30
| | | | | | | | initializations of IDs and objects. * ext/ripper/tools/generate.rb (generate_eventids1): ditto. * parse.y (Init_ripper, InitVM_ripper): fix inversed roles. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-10-18svn2011-10-171-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Tue Oct 18 02:24:19 2011 Takeyuki FUJIOKA <xibbar@ruby-lang.org>xibbar2011-10-171-1/+1
| | | | | | | * lib/cgi/core.rb (QueryExtension#read_multiparat): replace 'stdinput' from '$stdin' because using fast cgi. [Bug #5451] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-10-16svn2011-10-161-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.gemspec (files): fixed typo, andnobu2011-10-163-2/+12
| | | | | | | | removed nonexistent file. * ext/bigdecimal/bigdecimal.gemspec (homepage): added. * ext/io/console/io-console.gemspec (homepage): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e