akr
0610a859d9
* process.c (disable_child_handler_before_fork): New function.
...
(disable_child_handler_fork_parent): Ditto.
(disable_child_handler_fork_child): Ditto.
(retry_fork_async_signal_safe): Call above functions to disable
signal handlers in child process.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-05 12:46:09 +00:00
akr
01689aa9b1
* process.c (handle_fork_error): Make try_gc_p argument volatile to
...
suppress "clobbered" warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-05 12:03:54 +00:00
akr
5e42cc3085
* process.c (handle_fork_error): Don't need state_p argument.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-05 11:49:04 +00:00
akr
4eed59e667
* process.c (has_privilege): Fix a return value.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-05 11:36:19 +00:00
hsbt
925ac7ade7
* lib/shellwords.rb: proofreading documentation.
...
[Bug #10155 ][ruby-core:64471]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-05 10:00:46 +00:00
hsbt
1ffb9ba0e5
* ChangeLog: added reference to github
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-05 09:37:24 +00:00
hsbt
7e3b185a25
* test/csv/test_row.rb: Added some missing tests in CSV.
...
* test/csv/test_table.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-05 09:34:38 +00:00
akr
192c39532b
* process.c (has_privilege): Refine uid/gid check.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-05 03:58:42 +00:00
akr
82d85fe441
* configure.in: Check sys/id.h, getuidx and getgidx for AIX.
...
* process.c (getresuid): Defined for AIX.
(getresgid): Ditto
AIX don't have getresuid/getresgid but getuidx/getgidx.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-05 03:43:28 +00:00
akr
2cf2d7ee20
* process.c (has_privilege): Fix assignements.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-05 03:28:53 +00:00
hsbt
8fada42082
* lib/rdoc/generator/pot/po.rb: fixed broken tests for trailing whitespace.
...
* test/rdoc/test_rdoc_generator_pot.rb: ditto.
* test/rdoc/test_rdoc_generator_pot_po.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-05 02:10:17 +00:00
svn
cf0a8d2841
* properties.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-05 01:41:46 +00:00
svn
ce18f59a93
* remove trailing spaces.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-05 01:41:44 +00:00
hsbt
bf09511754
* test/rdoc/test_rdoc_rdoc.rb (TestRDocRDoc#test_parse_file_encoding):
...
typofix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-05 01:41:28 +00:00
hsbt
d42d6e690e
* lib/rdoc.rb, lib/rdoc, test/rdoc: Update to RDoc 4.2.0.alpha(313287)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-05 01:41:25 +00:00
normal
670c6e8ce9
vm.c: remove unused USE_THREAD_RECYCLE [misc #10198 ]
...
Unused feature, and it is a no-op even if enabled.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-04 21:05:31 +00:00
akr
f0b12c0461
Describe about vfork().
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-04 16:41:12 +00:00
svn
4d59fd10c2
* 2014-09-05
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-04 15:54:13 +00:00
akr
d03315d84a
* configure.in (dirfd): Check function.
...
* dir.c (dir_fileno): New method.
[ruby-dev:48265] [Feature #9880 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-04 15:54:04 +00:00
akr
f20d51b0ad
* process.c (has_privilege): New function.
...
(retry_fork_async_signal_safe): Don't use vfork() for privileged
process.
* configure.in (getresuid): Check function.
(getresgid): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-04 14:56:03 +00:00
hsbt
d80282eecc
* test/pathname/test_pathname.rb: added testcase for Pathname#mountpoint.
...
[fix GH-709]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-04 11:22:20 +00:00
hsbt
b549ced9ed
* removed symbian directory.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-04 11:11:12 +00:00
hsbt
8362f9b581
* symbian/*: removed Symbian support.
...
[Feature #10199 ][ruby-core:64725]
* dln.c: ditto.
* include/ruby/defines.h: ditto.
* thread_pthread.c: ditto.
* vm.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-04 11:09:32 +00:00
ko1
68f55c4b35
* dir.c (glob_helper): use #ifdef instead of #if.
...
gcc's -Wundef option shows warning for undefined macro.
* numeric.c (flo_is_finite_p): ditto.
* vm_dump.c (rb_vmdebug_thread_dump_state): ditto.
* vm_core.h: define VM_DEBUG_VERIFY_METHOD_CACHE to 0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-04 08:50:31 +00:00
svn
1e55b27e2c
* 2014-09-04
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-03 18:58:57 +00:00
normal
1540b1fe5e
man/ruby.1: spelling fix ("bellow" => "below") [ci-skip]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-03 18:58:56 +00:00
normal
3c9e195f98
man/ruby.1: add trailing slash to URLs [ci-skip]
...
URLs without path component needs trailing slash.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-03 18:58:42 +00:00
akr
777d61faf4
* process.c (before_fork_ruby): Renamed from before_fork.
...
(after_fork_ruby): Renamed from after_fork.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-03 10:23:24 +00:00
akr
ed0f2528e8
* process.c (forked_child): Removed.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-03 09:56:38 +00:00
nobu
b46b1e3f5a
object.c: fix memory leak
...
* object.c (rb_obj_copy_ivar): allocate no memory for empty
instance variables. [ruby-core:64700] [Bug #10191 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-03 07:56:09 +00:00
nobu
8322ca8a21
* tool/make-snapshot (usage): X.Y means the head of a branch now.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-03 06:05:01 +00:00
nobu
cf08cf97fa
* tool/make-snapshot (package): no teeny means a branch since 2.1.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-03 05:47:31 +00:00
akr
9b16f90692
* process.c (retry_fork_async_signal_safe): Use vfork() if available.
...
vfork() is still faster than fork() especially when the parent
process uses big memory.
ruby -rbenchmark -e 'a = "a" * 1_000_000_000; puts Benchmark.measure { system("true") }'
fork: 0.000000 0.010000 0.010000 ( 0.014968)
vfork: 0.000000 0.000000 0.000000 ( 0.000912)
on Debian sid.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-03 03:06:17 +00:00
hsbt
51ee0a634e
* test/openssl/test_pkey_rsa.rb (OpenSSL#test_sign_verify_memory_leak):
...
added timeout into testcase for low performance environment.
[Bug #9984 ][ruby-core:63367]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-03 02:33:18 +00:00
akr
93a7bf4b17
* configure.in: Use AC_FUNC_FORK.
...
* io.c: Use HAVE_WORKING_FORK instead of HAVE_FORK.
* process.c: Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-02 22:51:03 +00:00
akr
50190956c2
Ruby can delay arbitrarily because Ruby is not a realtime system,
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-02 15:47:53 +00:00
svn
8a4c23163c
* 2014-09-03
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-02 15:13:51 +00:00
akr
34af76e318
* process.c (retry_fork_async_signal_safe): Don't return on in child
...
process.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-02 15:13:36 +00:00
akr
93621161d6
* process.c (retry_fork_async_signal_safe): Specialized version of
...
retry_fork respect to rb_fork_async_signal_safe.
(retry_fork_ruby): Specialized version of retry_fork respect to
rb_fork_ruby.
(rb_fork_ruby): Removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-02 14:47:46 +00:00
akr
de88408813
* process.c (send_child_error): Simplified.
...
(recv_child_error): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-02 14:27:10 +00:00
akr
a78a9b0d17
* process.c (rb_fork_async_signal_safe): Inline rb_fork_internal.
...
(rb_fork_ruby): Ditto.
(rb_fork_internal): Removed.
(chfunc_protect): Removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-02 13:56:35 +00:00
akr
51f41f6618
* test/ruby/test_io.rb (test_new_with_block): Set autoclose to avoid EBADF.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-02 13:45:20 +00:00
nobu
6bd80ffc22
test_io.rb: ignore stream closed IOError
...
* test/ruby/test_io.rb (test_readpartial_locktmp): stream closed
IOError while reading is not a matter. [Bug #10193 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-02 13:32:59 +00:00
kou
1a37c5a4b6
* Makefile.in (update-coverage): Remove a never executed line.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-02 13:04:04 +00:00
akr
557802a1da
* process.c (handle_fork_error): Extracted from retry_fork.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-02 11:47:35 +00:00
hsbt
bd1f4738a4
* ChangeLog: added link of github issue
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-02 08:08:08 +00:00
hsbt
4032c76ab7
* tool/rbinstall.rb: fixed error of local installation.
...
[Bug #10192 ][ruby-core:64702]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-02 08:02:59 +00:00
svn
3e95253eb8
* 2014-09-02
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-02 07:59:29 +00:00
hsbt
355c032fcf
* test/runner.rb: reporting test coverage for test-all with COVERAGE env.
...
[Feature #10189 ][ruby-core:64681]
* Makefile.in: added task for coverage report.
* common.mk: added definition of forked simplecov url.
* .gitignore: ignored coverage directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-02 07:59:18 +00:00
svn
e8473a675c
* 2014-09-01
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-01 11:17:11 +00:00