aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add test for [Backport #7896] [ruby-core:52607]naruse2013-02-212-2/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/merger.rb: add interaction when only ChangeLog is modified.naruse2013-02-212-0/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* signal.c: extract check_stack_overflownobu2013-02-212-15/+25
| | | | | | | * signal.c (check_stack_overflow): extract duplicated code and get rid of declaration-after-statement. [Bug #5014] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * signal.c (sigsegv): avoid to use async signal unsafe functionskosaki2013-02-212-10/+31
| | | | | | | when nested sigsegv is happen. [Bug #5014] [ruby-dev:44082] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_group_member): added an error check. SUS says,kosaki2013-02-212-1/+8
| | | | | | getgroups(small_value) may return EINVAL. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (RB_MAX_GROUPS): moved tokosaki2013-02-214-5/+10
| | | | | | | | | * internal.h (RB_MAX_GROUPS): here. * file.c (rb_group_member): use RB_MAX_GROUPS instead of RUBY_GROUP_MAX. They are the same. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (access_internal): removed.kosaki2013-02-212-9/+11
| | | | | | | | | * file.c (rb_file_readable_real): use access() instead of access_internal(). * file.c (rb_file_writable_real): ditto. * file.c (rb_file_executable_real): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (eaccess): use access() when not using setuid nor setgid.kosaki2013-02-212-2/+11
| | | | | | This is minor optimization. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_group_member): get rid of NGROUPS dependency.kosaki2013-02-213-23/+43
| | | | | | [Bug #7886] [ruby-core:52537] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ruby.c: fix for multiarch librarynobu2013-02-213-6/+27
| | | | | | | * ruby.c (ruby_init_loadpath_safe): try two levels upper for stripping libdir name. [Bug #7874] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: expand libdir_basenamenobu2013-02-213-19/+19
| | | | | | | * configure.in (libdir_basename): expand with multiarch in configure, not to defer the expansion till ruby.pc.in and mkmf.rb. [Bug #7874] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-02-21svn2013-02-211-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: libdir_basename for -rpath and -install_namenobu2013-02-213-2/+12
| | | | | | | * configure.in (libdir_basename): also -rpath and -install_name flags are affected when libruby directory changes. [Bug #7874] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: uninstallnobu2013-02-202-0/+54
| | | | | | | | | * common.mk (uninstall): uninstall installed file listed in $(INSTALLED_LIST) file. * tool/rbuninstall.rb: simple uninstallation tool. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/rbinstall.rb (libdir): fix typo. [Bug #7874]nobu2013-02-201-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* extmk.rb: extract SUBMAKEOPTSnobu2013-02-201-15/+15
| | | | | | * ext/extmk.rb (SUBMAKEOPTS): extract common sub make options. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* extmk.rb: rename variablesnobu2013-02-201-6/+7
| | | | | | | * ext/extmk.rb: rename working variables as more descriptive so no shadowing local variable warnings, and remove unused variables. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ruby.h: HAVE_RB_SCAN_ARGS_OPTIONAL_HASHnobu2013-02-202-0/+8
| | | | | | | | * include/ruby/ruby.h (HAVE_RB_SCAN_ARGS_OPTIONAL_HASH): for rb_scan_args() optional hash feature. [Bug #7861] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: target_os suffixnobu2013-02-202-1/+5
| | | | | | | | * configure.in (target_os): do not strip -gnu suffix on Linux if --target is given explicitly. [Bug #7874] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: adjust libdirnamenobu2013-02-203-1/+9
| | | | | | | | | * configure.in (libdirname): adjust library path name which libruby files will be installed. [Bug #7874] * tool/rbinstall.rb (libdir): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/pty/pty.c: Documentation for the PTY modulezzak2013-02-202-61/+78
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c: Document Data class [Bug #7890] [ruby-core:52549]zzak2013-02-202-0/+11
| | | | | | | Patch by Matthew Mongeau git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* enumerator.c: suppress warningsnobu2013-02-202-5/+14
| | | | | | | | * enumerator.c (lazy_zip_arrays_func, lazy_zip_func, lazy_take_func), (lazy_drop_func, lazy_drop_while_func): suppress uninitialized instance vriable warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mutex_m.rb: Add rdoc for Mutex_m modulezzak2013-02-202-21/+41
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems/commands/update_command.rb: Create the installer afterdrbrain2013-02-203-1/+30
| | | | | | | | | options are processed. [ruby-trunk - Bug #7779] * test/rubygems/test_gem_commands_update_command.rb: Test for the above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems/installer.rb: Use gsub instead of gsub! to avoiddrbrain2013-02-192-1/+8
| | | | | | | altering @bin_dir. Fixes tests on windows. [ruby-trunk - Bug #7885] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-02-20svn2013-02-191-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c: Fix typo in class documentationeregon2013-02-191-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.gemspec: bump to 1.2.0.mrkn2013-02-192-2/+7
| | | | | | [ruby-core:51777] [Bug #7761] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typo and remove trailing spacekazu2013-02-191-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Remove Syslog#inspect and have only Syslog.inspect.knu2013-02-192-1/+6
| | | | | | | | * ext/syslog/syslog.c (Init_syslog): Define inspect as a singleton method and remove it as an instance method. [Bug #6502] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/mkconfig.rb: exclude variables to just build libruby.nobu2013-02-191-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/mkrunnable.rb: needs rbconfig.rb.nobu2013-02-191-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: remove duplicated entry.nobu2013-02-191-5/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c: rdoc formatting for Kernel#Array()zzak2013-02-193-2/+13
| | | | | | | * array.c: Add rdoc for Array() method to Creating Arrays section git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl.c (class OpenSSL): Use only inner parenthesis indrbrain2013-02-192-18/+30
| | | | | | | create_extension examples. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl.c (class OpenSSL): Fixed ExtensionFactory example.drbrain2013-02-192-11/+26
| | | | | | | Patch by Richard Bradley. [ruby-trunk - Bug #7551] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_eval.c (vm_call0_body): check interrupts after method dispatchko12013-02-182-8/+26
| | | | | | | | from C methods. [Bug #7878] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems/installer.rb: Fixed placement of executables withdrbrain2013-02-183-0/+25
| | | | | | | | --user-install. [ruby-trunk - Bug #7779] * test/rubygems/test_gem_installer.rb: Test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Correct condition of r39302naruse2013-02-181-10/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-02-19svn2013-02-181-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_dump: FreeBSD ports' libexecinfo's backtrace(3) can't tracenaruse2013-02-183-13/+16
| | | | | | | | | | | beyond signal trampoline, and as described in r38342 it can't trace on -O because it see stack frame pointers. libunwind unw_backtrace see dwarf information in the binary and it works with -O (without frame pointers). * configure.in: remove r38342's hack and check libunwind. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: check whether backtrace(3) works well or not.naruse2013-02-183-0/+68
| | | | | | * vm_dump.c: set HAVE_BACKTRACE 0 if BROKEN_BACKTRACE. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/ipaddr.rb (IPAddr#in6_addr): Fix a typo with the closingknu2013-02-182-1/+6
| | | | | | | | | parenthesis. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix the IPv6 parser.knu2013-02-182-1/+13
| | | | | | | | | | | * lib/ipaddr.rb (IPAddr#in6_addr): Fix the parser so that it can recognize IPv6 addresses with only one edge 16-bit piece compressed, like [::2:3:4:5:6:7:8] or [1:2:3:4:5:6:7::]. [Bug #7477] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: unexpand exec_prefixnobu2013-02-181-0/+1
| | | | | | * configure.in (exec_prefix): unexpand after RUBY_EXEC_PREFIX is set. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkconfig.rb: clear exec_prefixnobu2013-02-181-1/+2
| | | | | | | * tool/mkconfig.rb: clear exec_prefix which may differ from prefix, before expanding rubyarchdir to remove prefix. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* version.c: move ruby_exec_prefixnobu2013-02-183-3/+7
| | | | | | * version.c (ruby_exec_prefix): move all path configuration stuffs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-02-18svn2013-02-181-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: unexpand_shvarnobu2013-02-182-0/+30
| | | | | | | * configure.in (unexpand_shvar): regularize a shell variable by unexpanding shell variables in it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e