summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * bin/{irb,rdoc}: executable.nobu2009-03-263-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (target_alias): replaces cpu with universal too.nobu2009-03-243-2/+16
| | | | | | | | | | * configure.in (target): replaces cpu with arch by --with-arch. * mkconfig.rb (TOPDIR): chops arch in config instead of RUBY_PLATFORM which varies on universal_binary. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-03-25svn2009-03-241-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * mkconfig.rb (MAJOR, MINOR, TEENY): reads from version.h always.nobu2009-03-242-17/+13
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_CHECK_SIZEOF): need to include $4.nobu2009-03-242-3/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-03-24svn2009-03-241-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_inspect): Cannot access fptr->fd if fptr is NULL.knu2009-03-242-1/+8
| | | | | | | | | This fixes a coredump caused by: ruby -e "class X < IO; def initialize; end; end; p X.new.inspect" git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (time_timespec): use NUM2TIMET.akr2009-03-232-4/+9
| | | | | | | | (time_s_at): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (Init_process): Better patch for eliminating anknu2009-03-232-4/+13
| | | | | | | | | "unused variable". git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dbm/dbm.c (fdbm_initialize): Make the file variableknu2009-03-233-2/+12
| | | | | | | | | | | volatile, because FilePathValue() currently does not protect the given variable from GC. (Probably it should) * ext/sdbm/init.c (fsdbm_initialize): Ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_file_s_lstat): Back out.knu2009-03-232-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_file_s_stat, rb_file_s_lstat): Remove repeated typeknu2009-03-232-2/+6
| | | | | | | | checks. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (init_heap): set default to heap slots lengthnari2009-03-232-0/+16
| | | | | | | | | if HEAP_OBJ_LIMIT is larger than HEAP_MIN_SLOTS. [Bug #1310] (set_heaps_increment): increment next_heaps_length if next_heaps_length and heaps_used are same. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_spawn): use original command if not found.nobu2009-03-232-2/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/depend (link_so): replaces $(TARGET) with basename of thenobu2009-03-223-4/+16
| | | | | | | target. [ruby-talk:330286] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_spawn, rb_w32_aspawn): use NULL asnobu2009-03-224-32/+85
| | | | | | | application name for batch files. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc update.akr2009-03-211-0/+28
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_ssl.c (write_would_block): defined.akr2009-03-214-24/+126
| | | | | | | | | | | | | | | | (read_would_block): defined. (ossl_start_ssl): add nonblock argument. (ossl_ssl_connect): follow ossl_start_ssl change. (ossl_ssl_connect_nonblock): new method. (ossl_ssl_accept): follow ossl_start_ssl change. (ossl_ssl_accept_nonblock): new method. (ossl_ssl_read_internal): use write_would_block and read_would_block. (ossl_ssl_write_internal): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl: updated svn:ignore.nobu2009-03-211-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_process.rb (test_popen_shell): test for [ruby-core:22960].nobu2009-03-201-0/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_process.rb: skips tests need fd inheritance.nobu2009-03-201-11/+22
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_conv_from_wstr): added.nobu2009-03-201-56/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (rb_exec): prints error message only on platformsnobu2009-03-202-6/+20
| | | | | | | neither close-on-exec nor spawnv is supported. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_spawn, rb_w32_aspawn): omit program namenobu2009-03-202-50/+122
| | | | | | | if actual program path is found. [ruby-core:22960] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (pipe_open): should pass program name even if multiplenobu2009-03-202-1/+6
| | | | | | | arguments are given. fix for TestProcess::test_argv0. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-03-21svn2009-03-201-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/lib/openssl/buffering.rbakr2009-03-205-7/+113
| | | | | | | | | | | (OpenSSL::Buffering#write_nonblock): new method. * ext/openssl/ossl_ssl.c (ossl_ssl_write_nonblock): new method. (ossl_ssl_write_internal): defined. (ossl_ssl_write): use ossl_ssl_write_internal. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (errmap): added ERROR_MOD_NOT_FOUND.nobu2009-03-202-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: a patch was being attached to [Bug#1305].nobu2009-03-201-1/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (libprefix): must not append "lib" after $(libdir),nobu2009-03-202-2/+7
| | | | | | | when load_relative is not used on darwin. [ruby-dev:38182] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: commit miss.nobu2009-03-201-0/+13
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-03-20svn2009-03-191-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update rdoc and NEWS.akr2009-03-193-0/+66
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* use IO::WaitWritable.akr2009-03-192-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_mWaitReadable): defined.akr2009-03-1920-70/+208
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (rb_mWaitWritable): defined. (io_getpartial): extend IO::WaitReadable on EWOULDBLOCK and EAGAIN. (rb_io_write_nonblock): extend IO::WaitWritable on EWOULDBLOCK and EAGAIN. * error.c (make_errno_exc): extracted from rb_sys_fail. (rb_mod_sys_fail): new function. * include/ruby/ruby.h (rb_mod_sys_fail): declared. (rb_mWaitReadable): declared. (rb_mWaitWritable): declared. * ext/socket/init.c (rsock_s_recvfrom_nonblock): extend IO::WaitReadable on EWOULDBLOCK and EAGAIN. (rsock_s_accept_nonblock): extend IO::WaitReadable on EWOULDBLOCK, EAGAIN, ECONNABORTED and EPROTO. * ext/socket/socket.c (sock_connect_nonblock): extend IO::WaitWritable on EINPROGRESS. * ext/socket/ancdata.c (bsock_sendmsg_internal): extend IO::WaitWritable on EWOULDBLOCK and EAGAIN. (bsock_recvmsg_internal): extend IO::WaitReadable on EWOULDBLOCK and EAGAIN. * ext/openssl/ossl_ssl.c (ossl_ssl_read_internal): raise SSLError extended by IO::WaitReadable/IO::WaitWritable on SSL_ERROR_WANT_READ/SSL_ERROR_WANT_WRITE. * ext/openssl/ossl.c (ossl_make_error): extracted from ossl_raise. (ossl_exc_new): new function. * ext/openssl/ossl.h (ossl_exc_new): declared. * lib/net/protocol.rb (rbuf_fill): rescue IO::WaitReadable and IO::WaitWritable. [ruby-core:22539], [ruby-dev:38140] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_CHECK_SIZEOF): allows qualified name.nobu2009-03-194-58/+60
| | | | | | | | | | | | | | * configure.in (RUBY_REPLACE_TYPE): checks more strictly. * configure.in (struct stat.st_size, struct stat.st_blocks), (struct stat.st_ino): check for size. * lib/mkmf.rb (check_sizeof): allows qualified name. * file.c (rb_stat_ino, rb_stat_blocks): check by size. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* pattern refined for ldd on OpenBSD.akr2009-03-181-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/ancdata.c: not use pktinfo.ipi_spec_dst if not definedtakano322009-03-183-4/+12
| | | | | | | * ext/socket/extconf.rb: define HAVE_IPI_SPEC_DST git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/test_syslog.rb (TestSyslog#test_open): checkkazu2009-03-182-2/+9
| | | | | | | param after block again. because detect not to call block. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/test_syslog.rb (TestSyslog#test_open): checkkazu2009-03-182-3/+8
| | | | | | | block parameter in block. [ruby-dev:38180] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * error.c (report_bug): rb_bug can be caused by extensionnobu2009-03-182-1/+8
| | | | | | | libraries. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-03-18svn2009-03-171-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/drb/drb.rb (open_server_inaddr_any): fixed multiple networkseki2009-03-172-9/+9
| | | | | | | | families problem. a patch from Charl Matthee at [ruby-core:21033]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/make-snapshot (package): creates .revision.time and passesnobu2009-03-172-1/+7
| | | | | | | CHDIR to create prerequisite files. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc update.akr2009-03-171-5/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc update.akr2009-03-171-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c (Enumerator#{each_,}{with_index,with_object}): Fixknu2009-03-172-5/+20
| | | | | | | | a bug where any parameter but the first one is dropped even if multiple values are yielded with. [Bug #1198] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/ifchange: removed newer substitution syntax.nobu2009-03-171-2/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* make ./goruby -e 'p "abc".gs(/a/) { $& }' prints "abc".akr2009-03-171-2/+9
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pathname.rb (Pathname#sub): set $~ in block.binding.akr2009-03-173-1/+29
| | | | | | | [ruby-dev:38173] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e