aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * include/ruby/st.h, st.c: order entries by a linked list instead ofmame2009-02-083-21/+28
| | | | | | | | a loop to fix iteration miss when hash is modified during iteration. [ruby-dev:37910] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/option.c (inspect_peercred): new function to showakr2009-02-083-4/+45
| | | | | | | SO_PEERCRED socket option. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/backward/rubysig.h (rb_thread_blocking_region_begin),nobu2009-02-082-3/+11
| | | | | | | | | | (rb_thread_blocking_region_end): marked as deprecated. * include/ruby/backward/rubysig.h (TRAP_BEG): fix for C++. a patch from Aman Gupta at [ruby-core:21934] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/extconf.rb: check struct cmsgcred.akr2009-02-084-29/+97
| | | | | | | | | | * ext/socket/ancdata.c (anc_inspect_passcred_credentials): add "(ucred)". (anc_inspect_socket_creds): show struct cmsgcred too, for FreeBSD. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/drb/extservm.rb (DRb::ExtServManager#invoke_service_command):akr2009-02-082-1/+6
| | | | | | | detach spawned process. [ruby-dev:37936] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test renamed.akr2009-02-081-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/extconf.rb: check struct sockcred.akr2009-02-084-4/+68
| | | | | | | | * ext/socket/ancdata.c (anc_inspect_socket_creds): new function to show SCM_CREDS on NetBSD. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test.akr2009-02-081-0/+18
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* more constants.akr2009-02-081-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/backward/rubysig.h: extern "C" was missing.nobu2009-02-082-0/+20
| | | | | | | [ruby-core:21929] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/ancdata.c (anc_inspect_passcred_credentials): newakr2009-02-082-0/+25
| | | | | | | function to show SCM_CREDENTIALS on GNU/Linux. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_s_binread): ensures file path. [ruby-dev:37940]nobu2009-02-082-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/raddrinfo.c (init_unix_addrinfo): add socktype argument.akr2009-02-083-9/+36
| | | | | | | | | (addrinfo_initialize): follow init_unix_addrinfo change. (addrinfo_s_unix): add optional argument: socktype git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_APPEND_OPTION, RUBY_APPEND_OPTIONS),nobu2009-02-082-40/+121
| | | | | | | | | | | | | | (RUBY_PREPEND_OPTION, RUBY_PREPEND_OPTIONS): add option(s) without duplication. * configure.in (RUBY_DEFINE_IF): changed parameter order, now condition comes first. * configure.in (universal_binary): checks architecture macros, and improved thin load paths. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix rdoc.akr2009-02-081-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* select before read_nonblock.akr2009-02-081-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * runruby.rb: gets extout and arch from rbconfig.rb.nobu2009-02-082-1/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-02-08svn2009-02-081-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* specify exception class for rescue clause.akr2009-02-081-2/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test.akr2009-02-071-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/socket/test_addrinfo.rb (test_family_addrinfo): don't useakr2009-02-072-2/+8
| | | | | | | | www.ruby-lang.org. http://d.hatena.ne.jp/nagachika/20090204/working_for_0f0e git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test setrlimit in a child process.akr2009-02-071-2/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (--with-arch): added new option to supportnobu2009-02-075-85/+145
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | universal binary. replaced --enable-fat-binary option which didn't work actually. * configure.in (RUBY_FUNC_ATTRIBUTE): added conditional test. * configure.in (ac_cv_type_getgroups): decalared because getgroups() fills rest of the buffer with garbages on Rosetta. * configure.in (alloca): defines only for powerpc, but always create empty object to suppress ld warning. * configure.in (LIBRUBY_DLDFLAGS): set compatibility version with TEENY. * configure.in (CFLAGS, LDFLAGS): separates ARCH_FLAG. * configure.in (arch): renamed to "universal" from "fat". * Makefile.in (ARCH_FLAG): added. * include/ruby/defines.h (WORDS_BIGENDIAN): uses AC_APPLE_UNIVERSAL_BUILD. * missing/alloca.c (alloca): defines only if C_ALLOCA is defined. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * runruby.rb: added --cpu option.nobu2009-02-072-3/+10
| | | | | | | * runruby.rb: skips version check in rbconfig.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * runruby.rb: added --precommand and --show options.nobu2009-02-072-3/+19
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (have_header): needs dependent headers if trying tonobu2009-02-073-3/+10
| | | | | | | | | compile. * ext/socket/extconf.rb: net/if.h depends on other headers. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (dir_read): don't disable rdoc.akr2009-02-062-3/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_cipher.c (add_cipher_name_to_ary): usednobu2009-02-061-0/+2
| | | | | | | conditionally. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/etc/test_etc.rb: trivial.nobu2009-02-062-14/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_fread): use rb_io_wait_readable for retryakr2009-02-062-0/+8
| | | | | | | avoid Errno::EINTR on ruby -e 'trap(:CHLD) {}; spawn("sleep 1"); STDIN.read' git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* thread_pthread.c (native_thread_create) [__SYMBIAN32__]: reduced pthread ↵azav2009-02-061-0/+8
| | | | | | stack size git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* thread_pthread.c (native_thread_create) [__SYMBIAN32__]: reduced pthread ↵azav2009-02-061-2/+6
| | | | | | stack size git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* (pipe_open) [__SYMBIAN32__]: fixed compile time error azav2009-02-061-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* [__SYMBIAN32__]: included <sys/select.h> for fd_set definitionazav2009-02-061-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* [__SYMBIAN32__]: included <sys/select.h> for fd_set definitionazav2009-02-061-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Created execl stub as a missing PIPS functionazav2009-02-061-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Created execl stub as a missing PIPS functionazav2009-02-062-17/+20
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * signal.c (register_sigaltstack): ignore sigaltstack error.akr2009-02-062-2/+6
| | | | | | | It fails on OpenBSD 4.4 when pthread library is linked. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* no need to restore rlimit in child process.akr2009-02-061-3/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: typo.usa2009-02-061-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_readdir_with_enc): fallback to OS convertionusa2009-02-062-1/+9
| | | | | | | | when ASCII-8BIT is passed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/{dir.h, win32.c} (rb_w32_readdir_with_enc): new function tousa2009-02-064-37/+115
| | | | | | | | | | | | | | | read entry with specified enc. * win32/win32.c (readdir_internal): extract from rb_w32_opendir(). * win32/win32.c (opendir_internal): extract from rb_w32_readdir(). * dir.c (dir_read, dir_each): use new READDIR macro instead of readdir() to pass enc for special version of readdir, such as above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (process_options): set initial default_external before -r.usa2009-02-062-0/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (process_options): -K and -E in shebang should be reflect tousa2009-02-062-7/+12
| | | | | | | | default_external. [ruby-dev:37920] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/pty/pty.c (chfunc): type fixed.akr2009-02-052-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_each_codepoint): update RDoc formatz2009-02-052-1/+7
| | | | | | | String#codepoints. a patch from Radoslaw Bulat in [ruby-core:21835] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-02-06svn2009-02-051-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cont.c (cont_mark, cont_capture, cont_restore_1): use #else insteadmame2009-02-052-3/+9
| | | | | | | | of #elif. a patch from NISHIMATSU Takeshi <t_nissie at yahoo.co.jp> in [ruby-list:45856]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/intern.h (rb_run_exec_options_err): renamed fromakr2009-02-055-26/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rb_run_exec_options. (rb_exec_err): renamed from rb_exec. (rb_fork_err): renamed from rb_fork. (rb_spawn_err): renamed from rb_spawn. (rb_run_exec_options): declared with 1.9.1 compatible signature. (rb_exec): ditto. (rb_fork): ditto. (rb_spawn): ditto. * process.c (rb_run_exec_options_err): renamed from rb_run_exec_options. (rb_exec_err): renamed from rb_exec. (rb_fork_err): renamed from rb_fork. (rb_spawn_err): renamed from rb_spawn. (rb_run_exec_options): defined. (rb_exec): ditto. (rb_fork): ditto. (rb_spawn): ditto. * io.c: follow above change. * ext/pty/pty.c: follow above change. [ruby-dev:37893] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket: AddrInfo is renamed to Addrinfo. [ruby-dev:37876]akr2009-02-0513-226/+230
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e