summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-09-16add tag v1_8_6_104v1_8_6_104shyouhei
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tags/v1_8_6_104@13460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-16git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13459 ↵shyouhei
b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-16 * ruby.c (proc_options): -W should be allowed in RUBYOPTshyouhei
environment variable. [ruby-core:12118] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-16 * range.c (range_step): fixed integer overflow. [ruby-dev:31763]shyouhei
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-07* eval.c (rb_thread_start_0): should unset time_thread_alive_p.shyouhei
[ruby-talk:257219], [ruby-core:11542], [ruby-dev:31253] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-07 * array.c (rb_ary_subseq): need integer overflow check.shyouhei
[ruby-dev:31736] * array.c (rb_ary_splice): ditto. [ruby-dev:31737] * array.c (rb_ary_fill): ditto. [ruby-dev:31738] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-07 * array.c (rb_ary_fill): need integer overflow check.shyouhei
[ruby-dev:31738] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-07 * string.c (rb_str_splice): integer overflow for length.shyouhei
[ruby-dev:31739] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-07 * configure.in (group_member): check if presents.shyouhei
* configure.in (XCFLAGS): add _GNU_SOURCE on linux. * file.c (group_member): use system routine if available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-07 * include/ruby/defines.h (flush_register_windows): call "ta 0x03"shyouhei
even on Linux/Sparc. [ruby-dev:31674] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-07 * ext/win32ole/win32ole.c (ole_type_progid, reg_enum_key, shyouhei
reg_get_val, ole_wc2mb): fix the bug. Thanks, arton. [ruby-dev:31576] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-07 * eval.c (mnew): should preserve noex as safe_level.shyouhei
* eval.c (rb_call0): tighten security check condition.. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-07 * ext/tk/tcltklib.c (Init_tcltklib): use rb_set_end_proc().shyouhei
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-07 * process.c (detach_process_watcher): should not pass the pointershyouhei
to an auto variable to the thread to be created. pointed and fix by KUBO Takehiro <kubo at jiubao.org> [ruby-dev:30618] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-07 * sample/test.rb, test/ruby/test_system.rb(valid_syntax?): keepshyouhei
comment lines first. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-07 * bignum.c (big_lshift): make shift offset long type.shyouhei
(big_rshift): ditto. (rb_big_lshift): ditto. (big_rshift): ditto. [ruby-dev:31434] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * hash.c (rb_hash_delete_key): delete the entry without calling block.shyouhei
* hash.c (rb_hash_shift): should consider iter_lev too. * hash.c (delete_if_i): use rb_hash_delete_key() so that the block isn't called twice. [ruby-core:11556] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * lib/rinda/tuplespace.rb: fix Rinda::TupleSpace keeper thread bug.shyouhei
the thread is started too early. [ruby-talk:264062] * test/rinda/test_rinda.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * ext/pty/pty.c (establishShell): handshaking before close slaveshyouhei
device. [ruby-talk:263410] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * configure.in (ac_cv_func_isinf): set yes also on OpenSolaris.shyouhei
[ruby-Bugs-12859] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * lib/rexml/encodings/{ISO-8859-15,CP-1252}.rb: fixed invalid syntax.shyouhei
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13214 ↵shyouhei
b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * ext/extmk.rb (extmake): save all CONFIG values.shyouhei
* ext/extmk.rb (extmake): remove mkmf.log at clean, and extconf.h at distclean, respectively. * ext/extmk.rb: remove rdoc at clean, and installed list file at distclean, respectively. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * sprintf.c (rb_f_sprintf): should not check positional number asshyouhei
width. [ruby-core:11838] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * bignum.c (rb_big_aref): check for Bignum index range.shyouhei
[ruby-dev:31271] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * ext/digest/lib/digest.rb (Digest::self.const_missing): avoidshyouhei
infinite recursive const_missing call. [ruby-talk:262193] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * dln.c (conv_to_posix_path): removed.shyouhei
* ruby.c (rubylib_mangled_path, rubylib_mangled_path2): return VALUE instead of a pointer to static buffer. * ruby.c (push_include_cygwin): fixed buffer overflow. [ruby-dev:31297] * ruby.c (ruby_init_loadpath): not convert built-in paths. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * intern.h (is_ruby_native_thread): removed since declared as an intshyouhei
function in ruby.h already. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * file.c (rb_file_s_rename): deleted code to get rid of a bug ofshyouhei
old Cygwin. * file.c (rb_file_truncate): added prototype of GetLastError() on cygwin. [ruby-dev:31239] * intern.h (is_ruby_native_thread): prototype. * missing/strftime.c (strftime): fix printf format and actual arguments. * ext/Win32API/Win32API.c (Win32API_initialize): ditto. * ext/tk/tcltklib.c (ip_finalize): ditto. * ext/dl/ptr.c (rb_dlptr_inspect): ditto. [ruby-dev:31268] * ext/dl/sym.c (rb_dlsym_inspect): ditto. * ext/socket/getnameinfo.c: include stdio.h always. * ext/win32ole/win32ole.c (ole_hresult2msg, folevariable_name, folevariable_ole_type, folevariable_ole_type_detail, folevariable_value, folemethod_visible): missing return value. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * lib/mkmf.rb (create_makefile): make OBJS depend on RUBY_EXTCONF_Hshyouhei
only if extconf.h is created. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * {win32,wince,bcc32}/setup.mak (-version-): no RUBY_EXTERN magic.shyouhei
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * lib/mkmf.rb (init_mkmf): should remove mkmf.log too.shyouhei
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * ext/openssl/ossl_config.c (ossl_config_set_section): do notshyouhei
initialize aggregations with dynamic values. [ruby-talk:259306] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * eval.c (get_backtrace): check the result more.shyouhei
[ruby-dev:31261] [ruby-bugs-12398] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22* bignum.c (rb_big_lshift, rb_big_rshift): separated functionsshyouhei
to get rid of infinite recursion. fixed calculation in edge cases. [ruby-dev:31244] * numeric.c (rb_fix_lshift, rb_fix_rshift): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * bignum.c (rb_big_pow): refine overflow check. [ruby-dev:31242]shyouhei
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * time.c (time_succ): Time#succ should return a time object in theshyouhei
same timezone mode to the original. [ruby-talk:260256] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * numeric.c (fix_pow): integer power calculation: 0**n => 0, shyouhei
1**n => 1, -1**n => 1 (n: even) / -1 (n: odd). * test/ruby/test_fixnum.rb (TestFixnum::test_pow): update test suite. pow(-3, 2^64) gives NaN when pow(3, 2^64) gives Inf. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * lib/base64.rb (Base64::b64encode): should not specify /o optionshyouhei
for regular expression. [ruby-dev:31221] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * sprintf.c (rb_f_sprintf): more checks for format argument.shyouhei
[ruby-core:11569], [ruby-core:11570], [ruby-core:11571], [ruby-core:11573] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * ext/digest/digest.c (rb_digest_instance_update,shyouhei
rb_digest_instance_finish, rb_digest_instance_reset, rb_digest_instance_block_length): %s in rb_raise() expects char*. [ruby-dev:31222] * ext/openssl/ossl.h: include ossl_pkcs5.h. [ruby-dev:31231] * ext/openssl/ossl_pkcs5.h: new file for PKCS5. [ruby-dev:31231] * ext/openssl/ossl_x509name.c (ossl_x509name_to_s): use ossl_raise() instead of rb_raise(). [ruby-dev:31222] * ext/sdbm/_sdbm.c: DOSISH platforms need io.h. [ruby-dev:31232] * ext/syck/syck.h: include stdlib.h for malloc() and free(). [ruby-dev:31232] * ext/syck/syck.h (syck_parser_set_input_type): prototype added. [ruby-dev:31231] * win32/win32.c: include mbstring.h for _mbspbrk(). [ruby-dev:31232] * win32.h (rb_w32_getcwd): prototype added. [ruby-dev:31232] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * bignum.c (rb_cstr_to_inum): check leading non-digits.shyouhei
[ruby-core:11691] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * bignum.c (rb_big_neg): SIGNED_VALUE isn't in 1.8.shyouhei
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * numeric.c (fix_pow): 0**2 should not raise floating pointshyouhei
exception. [ruby-dev:31216] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * win32/win32.c (CreateChild): enclose command line except forshyouhei
command.com which can not handle quotes. [ruby-talk:258939] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * lib/mkmf.rb (link_command, cc_command, cpp_command): do not expandshyouhei
::CONFIG which is an alias of MAKEFILE_CONFIG. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * struct.c (rb_struct_init_copy): disallow changing the size.shyouhei
[ruby-dev:31168] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * random.c: documentation fix. srand(0) initializes PRNG with '0',shyouhei
not with random_seed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * bcc32/{Makefile.sub,setup.mak}: remove surplus slash from srcdir.shyouhei
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * sprintf.c (rb_f_sprintf): sign bit extension should not be doneshyouhei
if FPLUS flag is specified. [ruby-list:39224] numbers if FZERO is specified. [ruby-list:39218] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e