aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Retry ps if it doesn't do setproctitlenaruse2013-03-211-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* revert r39861nobu2013-03-213-11/+8
| | | | | | | * include/ruby/ruby.h: revert r39861 because RB_UNUSED_VAR() is used for array variables in extension libraries. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_win32.c (native_sleep): suppress warning.nobu2013-03-211-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* thread.c: fix deadlocknobu2013-03-213-3/+15
| | | | | | | * thread.c (ruby_kill): get rid of deadlock on signal 0. [ruby-dev:47182] [Bug #8137] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ruby.h: RB_UNUSED_VAR from UNINITIALIZED_VARnobu2013-03-213-9/+12
| | | | | | | | * include/ruby/ruby.h (RB_UNUSED_VAR): move code from UNINITIALIZED_VAR() in vm_core.h. * vm_core.h (UNINITIALIZED_VAR): use RB_UNUSED_VAR(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (marshal_dump, marshal_load): workaround for segv onngoto2013-03-212-2/+8
| | | | | | | | Intel Solaris compiled with Oracle SolarisStudio 12.3. Partly revert r38174. [ruby-core:52042] [Bug #7805] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* parse.y: escape all closing parensnobu2013-03-213-4/+15
| | | | | | | * parse.y (simple_re_meta): escape all closing characters, not only round parenthesis. [ruby-core:53578] [Bug #8133] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Makefile.in: remove broken symlinksnobu2013-03-211-1/+1
| | | | | | | * Makefile.in ($(LIBRUBY_SO)): always try to remove symlink targets for broken symlinks. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* string.c: potential memory leaknobu2013-03-211-1/+2
| | | | | | | | * string.c (rb_str_conv_enc_opts): allocate and hide wrapper before creating converter to be wrapped, to get rid of potential memory leak by failure on the allocation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_core.h: suppress warningsnobu2013-03-212-1/+8
| | | | | | | * vm_core.h (UNINITIALIZED_VAR): suppress warnings by clang 4.2. [ruby-core:51742] [Bug #7756] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-03-21svn2013-03-201-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/date/date_core.c: Typo in Date::MONTHNAMES by Matt Gaugerzzak2013-03-202-1/+6
| | | | | | | [GH fixes #261] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkmf.rb: format messagenobu2013-03-202-1/+6
| | | | | | | | * lib/mkmf.rb (find_library): fix to format message. [ruby-core:53568] [Bug #8130] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkmf.rb: prefix install_dirs only with DESTDIRnobu2013-03-202-14/+21
| | | | | | | | | * lib/mkmf.rb (install_dirs, with_destdir): prefix with DESTDIR directories to install only unless bundled extension libraries. [ruby-core:53502] [Bug #8115] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/win32ole/test_err_in_callback.rb (TestErrInCallBack#setup):usa2013-03-202-2/+9
| | | | | | | | allow using different drive for source and build directories. this may fixes a minor problem of r39834. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_signal.rb (test_hup_me): skip if HUP isn't supported.shirosaki2013-03-202-0/+7
| | | | | | On Windows this test causes ArgumentError. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rubygems/test_gem_installer.rb (test_install_extension_flat):shirosaki2013-03-202-0/+7
| | | | | | | use ruby in build directory in case ruby is not installed. [ruby-core:53265] [Bug #8058] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/win32ole/test_err_in_callback.rb (TestErrInCallBack#setup): useusa2013-03-202-4/+11
| | | | | | | | | relative path to get rid of "too long commandline" error. * ChangeLog: fixed wrong description. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/win32ole/test_err_in_callback.rb: revert r39823 (debug code).usa2013-03-201-2/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rinda/test_rinda.rb: remove unused variables.ayumin2013-03-192-4/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.c: fixed typo. same as r39830ayumin2013-03-191-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.c: fixed typo.ayumin2013-03-192-1/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_signal.rb (test_hup_me): added a few comments.kosaki2013-03-192-0/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (ruby_kill): added a few comments.kosaki2013-03-192-0/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-03-20svn2013-03-191-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (ruby_kill): release GVL while waiting signal delivered.kosaki2013-03-192-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby_kill (internal.h, thread.c): use rb_pid_t instead of pid_t.usa2013-03-193-2/+7
| | | | | | | this fixes the build failure of mswin introduced at r39819. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/win32ole/test_err_in_callback.rb: debug print. I'll remove this later.usa2013-03-191-1/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* convert with one converternobu2013-03-192-13/+36
| | | | | | | | * string.c (rb_str_conv_enc_opts): convert with one converter, instead of re-creating converters for each buffer expansion. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* compose HFS file namesnobu2013-03-193-2/+87
| | | | | | | | * dir.c (glob_helper): compose HFS file names from UTF8-MAC. [ruby-core:48745] [Bug #7267] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (join_path): move length of path to an argument.nobu2013-03-191-5/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * internal.h: added a declaration of ruby_kill().kosaki2013-03-196-2/+55
| | | | | | | | | | | | | | | | | | | | * thread.c (ruby_kill): helper function of kill(). * signal.c (rb_f_kill): use ruby_kill() instead of kill(). * signal.c (rb_f_kill): call rb_thread_execute_interrupts() to ensure that make SignalException if sent a signal to myself. [Bug #7951] [ruby-core:52864] * vm_core.h (typedef struct rb_thread_struct): added th->interrupt_cond. * thread.c (rb_threadptr_interrupt_common): added to initialization of th->interrupt_cond. * thread.c (thread_create_core): ditto. * test/ruby/test_signal.rb (TestSignal#test_hup_me): test for the above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (linux_iocparm_len): enable only exist _IOC_SIZE().kosaki2013-03-192-2/+7
| | | | | | Because musl libc doesn't have it. [Bug #8051] [ruby-core:53229] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/objspace/objspace.c: Fix typo in doc. Patch by Sho Hashimoto.sorah2013-03-192-1/+6
| | | | | | [Bug #8116] [ruby-dev:47177] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add comments to r39808naruse2013-03-181-1/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: set ac_cv_prog_cxx if CXX is supplied.mrkn2013-03-182-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: Fix c++ compiler auto-selection not only formrkn2013-03-182-1/+6
| | | | | | Darwin 11.x, but also the other versions of Darwin. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-03-19svn2013-03-181-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c: Improve accuracy of objspace_live_num() andnari2013-03-183-6/+16
| | | | | | | allocated/freed counters. patched by tmm1(Aman Gupta). [Bug #8092] [ruby-core:53392] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c: Avoid unnecessary heap growth. patched by tmm1(Aman Gupta).nari2013-03-183-2/+24
| | | | | | [Bug #8093] [ruby-core:53393] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c: Fix unlimited memory growth with large values ofnari2013-03-182-1/+8
| | | | | | | RUBY_FREE_MIN. patched by tmm1(Aman Gupta). [Bug #8095] [ruby-core:53405] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/win32ole/test_err_in_callback.rbusa2013-03-182-11/+17
| | | | | | | | (TestErrInCallBack#test_err_in_callback): shouldn't create a file in source directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_dump.c (backtrace): on darwin use custom backtrace() to tracenaruse2013-03-183-0/+68
| | | | | | | | | beyond _sigtramp. darwin's backtrace can't trace beyond signal trampoline with sigaltstack. * configure.in: check execinfo.h on darwin. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_exec.h (END_INSN): revert r39517 because the segv seems fixed bynaruse2013-03-182-12/+5
| | | | | | r39806. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_exec.c: Correct predefined macro name. This typo is introduced bynaruse2013-03-182-1/+6
| | | | | | r36534 and should be backported to ruby_2_0_0. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c: Typo in Array#delete by Timo Sand [GH fixes #258]zzak2013-03-172-1/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-03-18svn2013-03-171-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_fillbuf): show fd number on failure to debug.naruse2013-03-172-1/+12
| | | | | | http://c5632.rubyci.org/~chkbuild/ruby-trunk/log/20130316T050302Z.diff.html.gz git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c: fix rdoc. [ruby-core:53485] [ruby-trunk - Bug #8108]ktsj2013-03-171-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/date/date_core.c: include sys/time.h for avoiding implicitkosaki2013-03-162-0/+8
| | | | | | declaration of gettimeofday(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e