Skip to content
This repository
tag: v1_8_6_212

Jun 15, 2008

  1. Urabe, Shyouhei

    add tag v1_8_6_212

    git-svn-id: http://svn.ruby-lang.org/repos/ruby/tags/v1_8_6_212@17312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored June 15, 2008
  2. Urabe, Shyouhei

    merge revision(s) 16473:

    	* sprintf.c (rb_f_sprintf): fixed SEGV on win32 with "% 0e" % 1.0/0.0.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored June 15, 2008
  3. Urabe, Shyouhei

    merge revision(s) 16471:

    	* process.c (rb_f_system): set last_status when status == -1 because
    	  there is no path to set it on win32. this patch is derived from
    	  [ruby-core:16787], submitted by Luis Lavena <luislavena at gmail.com>
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored June 15, 2008
  4. Urabe, Shyouhei

    merge revision(s) 16420,16454:

    	* file.c (file_expand_path): support for alternative data stream
    	  and ignored trailing garbages of NTFS.
    	* file.c (rb_file_s_basename): ditto.
    	* file.c (rb_file_s_extname): ditto.
    	* lib/webrick/httpservlet/filehandler.rb: should normalize path
    	  name in path_info to prevent script disclosure vulnerability on
    	  DOSISH filesystems. (fix: CVE-2008-1891)
    	  Note: NTFS/FAT filesystem should not be published by the platforms
    	  other than Windows. Pathname interpretation (including short
    	  filename) is less than perfect.
    	* lib/webrick/httpservlet/abstract.rb
    	  (WEBrick::HTTPServlet::AbstracServlet#redirect_to_directory_uri):
    	  should escape the value of Location: header.
    	* lib/webrick/httpservlet/cgi_runner.rb: accept interpreter
    	  command line arguments.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored June 15, 2008
  5. Urabe, Shyouhei

    merge revision(s) 16400:

    	* string.c (rb_str_cat): fixed buffer overrun reported by
    	  Christopher Thompson <cthompson at nexopia.com> in [ruby-core:16746]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored June 15, 2008
  6. Urabe, Shyouhei

    merge revision(s) 16385:

    	* eval.c (is_defined): add NODE_OP_ASGN_{OR,AND}.  "defined?(a||=1)"
    	  should not operate assignment.  [ruby-dev:34645]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored June 15, 2008
  7. Urabe, Shyouhei

    merge revision(s) 16379:

    	* win32/win32.c (rb_w32_select): backport from trunk.
    	  [ruby-talk:300743]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored June 15, 2008
  8. Urabe, Shyouhei

    merge revision(s) 16369:

    	* lib/delegate.rb (SimpleDelegator::dup): removed needless argument.
    	  [ruby-list:44910]
    	* lib/delegate.rb (clone, dup): keep relationship with the target
    	  object.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored June 15, 2008
  9. Urabe, Shyouhei

    merge revision(s) 16342:

    	* util.c (ruby_strtod): backported from 1.9.  a patch from Satoshi
    	  Nakagawa <psychs at limechat.net> in [ruby-dev:34625]. 
    	  fixed: [ruby-dev:34623]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored June 15, 2008
  10. Urabe, Shyouhei

    merge revision(s) 16307:

    	* struct.c (rb_struct_s_def): to_str should be called only once.
    	  [ruby-core:16647]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored June 15, 2008
  11. Urabe, Shyouhei

    merge revision(s) 16305:

    	* ext/zlib/zlib.c (gzreader_gets): may cause infinite loop.
    	  a patch from Kouya <kouyataifu4 at gmail.com> in
    	  [ruby-reference-manual:762].
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored June 15, 2008
  12. Urabe, Shyouhei

    merge revision(s) 16242:

    	Merged 16241 from trunk.
    	* lib/net/telnet.rb:  Fixing a bug where line endings would not be properly
    	  escaped when the two character ending was broken up into separate TCP
    	  packets.  Issue reported and patched by Brian Candler.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored June 15, 2008
  13. Urabe, Shyouhei

    merge revision(s) 16239:

    	* re.c (rb_reg_search): use local variable.  a patch from wanabe
    	  <s.wanabe AT gmail.com> in [ruby-dev:34537].  [ruby-dev:34492]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored June 15, 2008
  14. Urabe, Shyouhei

    merge revision(s) 16177:

    	* dln.c (dln_find_1): prior files with extensions to files sans
    	  extensions.  [ruby-core:16517]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored June 15, 2008
  15. Urabe, Shyouhei

    merge revision(s) 16144:

    	* sprintf.c (rb_f_sprintf): should protect temporary string from
    	  GC.   [ruby-dev:34480]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored June 15, 2008
  16. Urabe, Shyouhei

    merge revision(s) 16143:

    	* regex.c (re_search): string might be NULL.  [ruby-core:16478]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored June 15, 2008
  17. Urabe, Shyouhei

    merge revision(s) 16114:

    	* time.c (rb_strftime): check errno to detect strftime(3)'s error.
    	  this is workaround for recent version of MSVCRT.
    	  [ruby-dev:34456]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored June 15, 2008
  18. Urabe, Shyouhei

    merge revision(s) 16082:

    	* lib/yaml/types.rb: Likewise, pass self to YAML::quick_emit;
    	  merged from 1.9.
    	* lib/yaml.rb (quick_emit): use combination of object_id and hash to
    	  identify repeated object references, since GC will reuse memory of
    	  objects during output of YAML. [ruby-Bugs-8548] [ruby-Bugs-3698];
    	  merged from 1.9.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored June 15, 2008
  19. Urabe, Shyouhei

    merge revision(s) 16074:

    	* ext/syck/rubyext.c: Node#value defined twice.
    	* lib/yaml/: several method redefinitions causing warnings.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored June 15, 2008
  20. Urabe, Shyouhei

    merge revision(s) 15965:

    	* marshal.c (w_object): add volatile to avoid potential GC bug.  a
    	  patch from Tomoyuki Chikanaga <chikanag at nippon-control-system.co.jp>
    	  in [ruby-dev:34311].
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored June 15, 2008
  21. Urabe, Shyouhei

    merge revision(s) 15924:

    	* re.c (rb_reg_quote): should always copy the quoting string.
    	  [ruby-core:16235]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored June 15, 2008
  22. Urabe, Shyouhei

    merge revision(s) 15900:

    	* lib/net/pop.rb (Net::POP3::do_finish): clear @n_mails and
    	  @n_bytes as well.  [ruby-core:16144]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored June 15, 2008
  23. Urabe, Shyouhei

    merge revision(s) 15869:

    	* lib/resolv.rb (Resolv::Config.default_config_hash): requires
    	  win32/resolv to use Win32::Resolv.  [ruby-dev:34138]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored June 15, 2008
  24. Urabe, Shyouhei

    merge revision(s) 15856:

    	* class.c (clone_method): should copy cref as well.
    	  [ruby-core:15833]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored June 15, 2008
  25. Urabe, Shyouhei

    merge revision(s) 15832:

    	* parse.y (yycompile): Always prepare a new array for each file's
    	  SCRIPT_LINES__ storage, instead of appending source lines every
    	  time a file is re-loaded; submitted by Rocky Bernstein in
    	  #18517.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored June 15, 2008
  26. Urabe, Shyouhei

    merge revision(s) 15823:

    	* lib/resolv.rb (Resolv::Hosts): should not use win32/resolv on cygwin.
    	  [ruby-dev:29945], [ruby-dev:34095]
    	* lib/win32/registry.rb (Win32::Registry.expand_environ): try upcased
    	  name too for cygwin.  [ruby-dev:29945]
    	* lib/win32/resolv.rb (Win32::Resolv.get_hosts_path): use expand_path.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored June 15, 2008
  27. Urabe, Shyouhei

    merge revision(s) 15790:

    	* misc/ruby-mode.el (ruby-mode): should use `run-mode-hooks' instead
    	  of calling `run-hooks' directly to run the mode hook.  patch from
    	  Chiyuan Zhang <pluskid AT gmail.com> in [ruby-core:15915]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored June 15, 2008
  28. Urabe, Shyouhei

    merge revision(s) 15749:

    	* numeric.c (fix_coerce): try conversion before type check.
    	  [ruby-core:15838]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored June 15, 2008
  29. Urabe, Shyouhei

    merge revision(s) 15575:

    	* bignum.c (BIGZEROP): fix for longer Bignum zeros.  [ruby-Bugs-17454]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored June 15, 2008
  30. Urabe, Shyouhei

    merge revision(s) 15645:15647:

    	* bignum.c (big2str_find_n1): check integer overflow.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored June 15, 2008
  31. Urabe, Shyouhei

    merge revision(s) 15548:

    	* gc.c (STACK_LENGTH) [SPARC] : 0x80 offset removed.  [ruby-dev:33857]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored June 15, 2008
  32. Urabe, Shyouhei

    merge revision(s) 15546:

    	* ext/readline/readline.c (readline_event): prevent polling.  based on
    	  a patch from error errorsson in [ruby-Bugs-17675].
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored June 15, 2008
  33. Urabe, Shyouhei

    merge revision(s) 15541,15545,15558:

    	* parse.y (yycompile): clear ruby_eval_tree_begin too before parse.
    	* parse.y (yycompile): clear ruby_eval_tree_begin if parse failed.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored June 15, 2008
  34. Urabe, Shyouhei

    merge revision(s) 15531:

    	* ext/pty/lib/expect.rb (IO#expect): check if peer is closed.
    	  [ruby-Bugs-17940]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored June 15, 2008
  35. Urabe, Shyouhei

    merge revision(s) 15482:

    	* ext/iconv/iconv.c (iconv_convert): check upper bound.  a patch from
    	  Daniel Luz at [ruby-Bugs-17910].
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored June 15, 2008
Something went wrong with that request. Please try again.