Permalink
Commits on Jun 29, 2008
  1. add tag v1_8_7_36

    shyouhei committed Jun 29, 2008
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/tags/v1_8_7_36@17710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. merge revision(s) 17617:

    shyouhei committed Jun 29, 2008
    	* time.c (time_timeval): fix rounding negative float.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@17709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. merge revision(s) 17586,17612:

    shyouhei committed Jun 29, 2008
    	* ruby.c (set_arg0, ruby_prog_init): freeze $0.  a patch from Keita
    	  Yamaguchi <keita.yamaguchi at gmail.com>.
    	* test/inlinetest.rb (InlineTest.in_progname): workaround for frozen
    	  $0.  [ruby-dev:35261]
    	* lib/test/unit/ui/console/testrunner.rb (TestRunner#finished): ditto.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@17705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. merge revision(s) 17584:

    shyouhei committed Jun 29, 2008
    	* process.c: include sys/resource.h if HAVE_SYS_RESOURCE_H is defined.
    	  pointed by TOYOFUKU Chikanobu.  [ruby-dev:35258]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@17700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  5. merge revision(s) 17581:

    shyouhei committed Jun 29, 2008
    	* eval.c (rb_call0): wrong condition to check insecure method.
    	  a patch from Keita Yamaguchi <keita.yamaguchi at gmail.com>.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@17696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  6. merge revision(s) 17578:

    shyouhei committed Jun 29, 2008
    	* variable.c (rb_f_trace_var): should not be allowed at safe level 4.  
    	  a patch from Keita Yamaguchi <keita.yamaguchi at gmail.com>.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@17692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  7. merge revision(s) 17570:

    shyouhei committed Jun 29, 2008
    	* array.c (rb_ary_fill): not depend on unspecified behavior at integer
    	  overflow.  reported by Vincenzo Iozzo <snagg AT openssl.it>.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@17686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  8. merge revision(s) 17561:

    shyouhei committed Jun 29, 2008
    	* ext/win32ole/win32ole.c(ole_invoke): fix memory leak.
    	  [ruby-bugs-20792]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@17684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  9. merge revision(s) 17547:

    shyouhei committed Jun 29, 2008
    	* eval.c (PUSH_FRAME, PUSH_CLASS): Add volatile to avoid a
    	  possible optimization bug on OS X/PPC.  This at least makes
    	  build with gcc -O1 and `make test' pass.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@17680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  10. merge revision(s) 17497:

    shyouhei committed Jun 29, 2008
    	* lib/rdoc/parsers/parse_rb.rb (RDoc#collect_first_comment): skip
    	  magic comment.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@17668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  11. merge revision(s) 17366:

    shyouhei committed Jun 29, 2008
    	* ext/stringio/stringio.c (strio_each, strio_readlines): IO#each and
    	  IO#readlines do not affect $_.  [ruby-core:17277]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@17664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  12. merge revision(s) 17352:

    shyouhei committed Jun 29, 2008
    	* ext/stringio/stringio.c (strio_readline, strio_each)
    	  (strio_readlines): set lastline.  [ruby-core:17257]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@17660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  13. merge revision(s) 17108:

    shyouhei committed Jun 29, 2008
    	* ext/openssl/ossl.h: include winsock.h if USE_WINSOCK2 is not defined.
    	  a patch from arton <artonx at yahoo.co.jp> in [ruby-dev:35078]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@17656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  14. merge revision(s) 17074:

    shyouhei committed Jun 29, 2008
    	* util.c (ruby_strtod): ruby_strtod don't allow a trailing
    	  decimal point like "7.". [ruby-dev:34835] [ruby-dev:35009]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@17652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jun 28, 2008
  1. merge revision(s) 17625:

    shyouhei committed Jun 28, 2008
    	* class.c (clone_method): use rb_copy_node_scope.
    	  fixed [ruby-list:45102]
    	  fixed [ruby-core:17393]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@17626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. 2008-06-28

    matzbot committed Jun 28, 2008
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@17624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. * class.c: revert to r15855.

    shyouhei committed Jun 28, 2008
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@17623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jun 20, 2008
  1. merge revision(s) 17483:

    shyouhei committed Jun 20, 2008
    	* string.c (rb_str_buf_append): should infect.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@17488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. merge revision(s) 17470:17472:

    shyouhei committed Jun 20, 2008
    	* array.c (rb_ary_store, rb_ary_splice): not depend on unspecified
    	  behavior at integer overflow.
    	* string.c (str_buf_cat): ditto.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@17480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jun 19, 2008
  1. * array.c (ary_new, rb_ary_initialize, rb_ary_store,

    shyouhei committed Jun 19, 2008
      rb_ary_aplice, rb_ary_times): integer overflows should be
      checked. based on patches from Drew Yao <ayao at apple.com>
      fixed CVE-2008-2726
    
    * string.c (rb_str_buf_append): fixed unsafe use of alloca,
      which led memory corruption. based on a patch from Drew Yao
      <ayao at apple.com> fixed CVE-2008-2726
    
    * sprintf.c (rb_str_format): backported from trunk.
    
    * intern.h: ditto.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@17460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jun 17, 2008
  1. * file.c (file_expand_path): no need to expand root path which has no

    knu committed Jun 17, 2008
      short file name.  [ruby-dev:35095]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@17375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jun 15, 2008
  1. * configure.in: Fix $LOAD_PATH. Properly expand vendor_ruby

    knu committed Jun 15, 2008
      directories; submitted by Takahiro Kambe <taca at
      back-street.net> in [ruby-dev:35099].
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@17183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jun 9, 2008
  1. patchlevel 17

    knu committed Jun 9, 2008
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@17052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. * lib/set.rb (Set#delete_if): Call to_a.

    knu committed Jun 9, 2008
      (SortedSet#delete_if, TC_SortedSet#test_sortedset): Use super to
      yield elements in sorted order; [ruby-core:17144] by Arthur
      Schreiber.
      (SortedSet#each, SortedSet#each, TC_Set#test_each)
      (TC_SortedSet#test_sortedset): Return self; [ruby-dev:35002] by
      Arthur Schreiber.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@17051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jun 8, 2008
  1. Ignore config.status.lineno.

    knu committed Jun 8, 2008
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@17034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. * ext/zlib/zlib.c (rb_deflate_initialize, Init_zlib): Fix up

    knu committed Jun 8, 2008
      initialize_copy; [ruby-list:45016], [ruby-list:45018].
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@17033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. * NEWS: Mention new constants.

    knu committed Jun 8, 2008
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@17032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. * hash.c (hash_i): make Hash#hash order insensitive.

    knu committed Jun 8, 2008
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@17031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  5. * configure.in (VENDOR_DIR): use LIBDIR instead of PREFIX as well as

    knu committed Jun 8, 2008
      SITE_DIR.  a patch from Richard Brown <rbrown AT exherbo.org> in
      [ruby-core:17129].
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@17030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  6. * io.c (rb_open_file, rb_io_s_sysopen): fmode should be unsigned int.

    knu committed Jun 8, 2008
      fixed [ruby-dev:34979]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@17028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jun 6, 2008
  1. Merge changes from ruby_1_8 that fixes build with Visual C++ 8 with

    knu committed Jun 6, 2008
    Winsock2.
    
    * win32/Makefile.sub (COMMON_HEADERS): include ws2tcpip.h.
    
    * ext/socket/addrinfo.h (addrinfo, getaddrinfo, getnameinfo,
      freehostent, freeaddrinfo): undef before define because these are
      macros in some versions of Windows SDK.
    
    * win32/setup.mak: maybe commit miss.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@16866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. Merge changes from ruby_1_8 to reduce warnings and potentially improve

    knu committed Jun 6, 2008
    security.
    
    * mkconfig.rb: hide build path from rbconfig.rb.
    
    * util.c (ruby_strtod, dtoa): initialize more variables for error
      handling.
    
    * io.c (rscheck), marshal.c (w_nbyte, w_bytes, w_unique),
      (path2class, path2module): constified.
    
    * pack.c (pack_unpack), process.c (rb_syswait): suppress warnings.
    
    * suppress warnings on cygwin, mingw and mswin.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@16863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. * file.c (file_expand_path): fix for non-existent files and SFN of

    knu committed Jun 6, 2008
      symlinks.  [ruby-talk:303736]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@16862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. * test/iconv: Tests fixed.

    knu committed Jun 6, 2008
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@16860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e