aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * 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
* * configure.in (RUBY_SITE_LIB_PATH, RUBY_VENDOR_LIB_PATH): fix fornobu2009-02-052-2/+9
| | | | | | | NetBSD. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (config.h): follow recent changes about paths.usa2009-02-052-5/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (MAJOR, MINOR, TEENY): uses RUBY_VERSION_*.nobu2009-02-053-16/+16
| | | | | | | * mkconfig.rb (prefix): uses ruby_version in config.status. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_uniq): gets rid of copying.nobu2009-02-052-6/+20
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (ary_add_hash): split from ary_make_hash().nobu2009-02-052-15/+39
| | | | | | | | | | | * array.c (ary_recycle_hash): clears internally used hash. this name came from [ruby-dev:37908]. * array.c (rb_ary_diff, rb_ary_and, rb_ary_or, rb_ary_uniq_bang): recycle hashes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (ary_make_hash): hide a Hash used internally.nobu2009-02-052-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * id.c (Init_id): use semicolons.nobu2009-02-051-11/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_LIB_VERSION): added for library version, tonobu2009-02-055-48/+108
| | | | | | | | | | | | | | | | | | split from core version. [ruby-dev:37748] * configure.in (RUBY_LIB_PATH, etc): moved actual version dependent stuff to version.c. * ruby.c (ruby_init_loadpath_safe): ditto. * version.c (ruby_initial_load_paths): moved initial load path version depending on version from ruby.c. * version.h (RUBY_VERSION_{MAJOR,MINOR,TEENY}): now mean library and API version, and reverted to 1.9.1. [ruby-dev:37889] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* don't connect to unspecified address (0.0.0.0). OpenBSD reject it.akr2009-02-051-1/+20
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* change from assigned variable to called functionkazu2009-02-041-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/readline.c (Init_readline): entry may be NULL.kazu2009-02-042-2/+9
| | | | | | | [ruby-dev:37891] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (LOCALTIME): should call tzset() before localtime_r().matz2009-02-042-1/+6
| | | | | | [ruby-dev:37896] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Updated Symbain configuration procedure to avoid creating files outside ↵azav2009-02-041-0/+11
| | | | | | build directory git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Updated Symbain configuration procedure to avoid creating files outside ↵azav2009-02-043-91/+86
| | | | | | build directory git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Updated Symbain configuration procedure to avoid creating files outside ↵azav2009-02-041-13/+20
| | | | | | build directory git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode.c (make_econv_exception): refine error message forakr2009-02-042-9/+24
| | | | | | | | undefined conversion. [ruby-core:21828] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add Socket.pair.akr2009-02-041-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (sock_s_socketpair): make 3rd argument optional.akr2009-02-044-5/+24
| | | | | | | | | | | * ext/socket/unixsocket.c (unix_s_socketpair): follow the above change. * ext/socket/rubysocket.h (sock_s_socketpair): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test relaxed.akr2009-02-041-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add tests.akr2009-02-041-2/+16
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* relax tests for MacOS X.akr2009-02-041-2/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-02-05svn2009-02-041-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/raddrinfo.c (addrinfo_ipv6_to_ipv4): new method.akr2009-02-042-0/+39
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Updated Symbian configuration procedure to avoid creating files outside ↵azav2009-02-041-1407/+0
| | | | | | build directory git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* relax tests for IPv4 compat/mapped IPv6 addresss.akr2009-02-041-1/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode.c (make_econv_exception): show U+XXXX form for undefinedakr2009-02-042-2/+21
| | | | | | | conversion error from UTF-8. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* updated.akr2009-02-041-7/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc update.akr2009-02-041-2/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e