knu
6692ef3c54
* lib/fileutils.rb (FileUtils#touch): Fix corrupted output when
...
:mtime is specified in addition to :nocreate (and :verbose).
ref [ruby-dev:43401]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-15 06:05:25 +00:00
usa
9d5f651a98
* numeric.c (ruby_float_step): wrong loop condition.
...
fixes [ruby-core:35753], reported by Joey Zhou.
* test/ruby/test_range.rb (TestRange#test_step_ruby_core_35753):
test above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-14 14:50:46 +00:00
nobu
716a99389c
* lib/test/unit.rb (Test::Unit::Options#setup_options): set possible
...
values for completion. no conversion is needed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-14 13:48:18 +00:00
nobu
80020d092e
* lib/test/unit.rb (Test::Unit::Runner::Worker#initialize): use
...
positional arguments instead of keyword arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-14 13:48:14 +00:00
nobu
3d41f4df43
* lib/test/unit.rb (Test::Unit::Runner#jobs_status): io/console may
...
not be available. use 80 as the last resort if IO#winsize and
COLUMNS are unavailable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-14 13:48:09 +00:00
nobu
146bedd6c4
* lib/test/unit.rb (Test::Unit::Runner::Worker#died): rename using a
...
verb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-14 13:48:05 +00:00
nobu
ed1c3f56c0
* lib/test/unit.rb (Test::Unit::Runner#_run_parallel): check if worker
...
is signaled and use its exit status.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-14 13:48:00 +00:00
nobu
311b3b4ff8
* lib/test/unit.rb (Test::Unit::Runner::Worker#dead): no longer @in
...
and @out are separated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-14 13:47:55 +00:00
nobu
af103c63dc
* variable.c (rb_autoload_p): search superclasses as same as actual
...
loading. fixes [ruby-core:35679]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-14 12:23:32 +00:00
nobu
d986500059
* include/ruby/win32.h (frexp, modf): wrongly declared as pure in
...
mingw math.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-14 12:21:09 +00:00
nobu
f777225e09
* include/ruby/win32.h (ftruncate, truncate): mingw64 misses
...
prototypes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-14 12:21:04 +00:00
nobu
b8bcb6474c
* win32/win32.c (rb_w32_read): suppress warning.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-14 12:20:59 +00:00
nobu
b4dc41d42e
fix style.
...
* ext/stringio/stringio.c (strio_each, strio_readlines): fix style.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-14 12:16:09 +00:00
kosaki
f5c7d1074f
fix ChangeLog description.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-14 11:01:53 +00:00
kosaki
8c5961f6f9
* lib/fileutils.rb (FileUtils#touch): fix corrupted output when
...
FileUtils.touch(:nocreate => true, :verbose => true) case.
The patch was written by Hiroyuki Iwatsuki. [ruby-dev:43401]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-14 10:58:10 +00:00
kazu
fb7f3bf37c
* io.c (rb_f_syscall): reduce warning: "HAVE___SYSCALL" is not defined.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-14 07:02:54 +00:00
svn
b642a73820
* 2011-04-14
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-13 15:43:17 +00:00
nagachika
d4d13162c5
* thread.c (thread_fd_close_i): IOError exception should be assigned
...
to rb_thread_t::thrown_errinfo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-13 15:43:13 +00:00
svn
a52dce92f4
* 2011-04-13
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-13 11:22:38 +00:00
kazu
c5a284aa17
* io.c (rb_io_fdatasync): remove unused variable.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-13 11:22:34 +00:00
akr
77a12692ee
* include/ruby/st.h: parenthesize macro arguments.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-12 11:54:28 +00:00
naruse
8553b70a39
* lib/uri/common.rb: avoid race condition. fixes #4572
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-12 10:20:50 +00:00
kouji
dd11a58be3
* ext/readline/extconf.rb: --disable-libedit to disable
...
libedit. fixes #4550
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-12 09:08:08 +00:00
usa
c3b81f63e7
* include/ruby/win32.h: VC doesn't have ftruncate() and others, but
...
ruby needs HAVE_ macros to use our emulation functions.
(fix the problem of 31262)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-12 01:39:39 +00:00
svn
ace092cb7a
* 2011-04-12
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-11 16:38:14 +00:00
luislavena
c2bfeaa244
Evaluate truncate, ftruncate and ftello existence
...
This corrects mingw-w64 compilation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-11 16:38:10 +00:00
kosaki
0f771e33e2
* io.c: revert r31230.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-11 12:52:22 +00:00
kosaki
616f70fcf6
* test/ruby/test_io.rb: Added TestIO#test_cross_thread_close_stdio
...
and TestIO#test_cross_thread_close_fd.
The patch was written by Eric Wong. [ruby-core:35669]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-11 12:50:55 +00:00
kosaki
3b011d1a00
* file.c (rb_group_member): kill 256K of stack usage.
...
the patch was written by Eric Wong. [ruby-core:35699]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-11 12:18:32 +00:00
svn
2934feb9ff
* 2011-04-11
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-10 22:24:54 +00:00
drbrain
091ea0ed71
* ext/openssl/ossl.c: Fix typo, document version constants.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-10 22:24:51 +00:00
akr
4db93c3f41
* include/ruby/ruby.h: parenthesize macro arguments.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-10 13:24:26 +00:00
svn
2350bd9457
* 2011-04-10
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-09 15:10:07 +00:00
sorah
6eb7740472
* ext/stringio/stringio.c (strio_each, strio_readlines):
...
Use `NUM2LONG` instead of `FIX2INT`. Fixes [ruby-dev:43395].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-09 15:10:03 +00:00
sorah
4e817b39b4
* ext/stringio/stringio.c (strio_each):
...
Fix exception message and don't raise immediately if block is not given.
Fixes [ruby-dev:43394].
* test/stringio/test_stringio.rb (test_each_line_limit_0):
Fix test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-09 14:28:06 +00:00
sorah
0a69f2e39d
* ext/stringio/stringio.c (strio_each, strio_readlines):
...
limit must not be zero. Fixes [ruby-dev:43392].
* test/stringio/test_stringio.rb: Add tests for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-09 13:01:23 +00:00
svn
699c3de190
* 2011-04-09
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-09 09:02:07 +00:00
akr
eb7d68819f
* include/ruby/util.h: parenthesize macro arguments.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-09 09:02:03 +00:00
svn
8999a9d415
* 2011-04-08
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-08 07:50:53 +00:00
naruse
653b4248a3
* ext/stringio/stringio.c (strio_getline): check whether str is
...
a string when str and lim are given.
https://twitter.com/watson1978/status/56225052152168449
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-08 07:50:49 +00:00
svn
4ca9e7d03a
* 2011-04-07
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-07 11:04:22 +00:00
akr
e6ef26ae4b
* include/ruby/io.h: parenthesize macro arguments.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-07 11:04:18 +00:00
akr
d55cf83561
* include/ruby/intern.h: parenthesize macro arguments.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-06 12:08:46 +00:00
naruse
d5b1fde5c7
* ext/openssl/ossl_pkey_dh.c (ossl_dh_initialize):
...
pop pushed error after each try of reading. fixes #4550
* ext/openssl/ossl_pkey_dsa.c (ossl_dsa_initialize): ditto.
* ext/openssl/ossl_pkey_ec.c (ossl_ec_initialize): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-06 06:14:05 +00:00
svn
6fc7c377bc
* 2011-04-06
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-06 02:44:49 +00:00
naruse
e61d269f34
* ext/openssl/ossl_pkey_rsa.c (ossl_rsa_initialize):
...
pop pushed error after each try of reading. fixes #4550
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-06 02:44:46 +00:00
akr
a63105a45f
* include/ruby/encoding.h: parenthesize macro arguments.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-05 11:34:15 +00:00
svn
42caa6ddd6
* 2011-04-05
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-05 04:05:22 +00:00
kazu
257f7859a9
fix a typo
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-05 04:05:19 +00:00
kosaki
78ea7afe97
* ext/io/nonblock/nonblock.c (io_nonblock_set): Avoid F_SETFL if
...
we're not changing the O_NONBLOCK bit. F_SETFL is an expensive
operation since it needs to affect all processes with the same
file object.
The patch is written by Eric Wong. [ruby-core:35556]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-04 13:11:14 +00:00