Commit graph

2992 commits

Author SHA1 Message Date
yugui
29160356f2 merges r29306 from trunk into ruby_1_9_2.
--
* dir.c (bracket): get rid of scanning at the end of the pattern
  string, not to raise an exception while globbing command line.
  [ruby-core:32478]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-24 09:37:36 +00:00
yugui
911692e568 merges r29282,r29283,r29284,r29285,r29286,r29287,r29288 and r29302 from trunk into ruby_1_9_2.
--
* test/rexml/: import REXML tests from
  http://www.germane-software.com/repos/rexml/trunk/test/.
  Many tests are failed temporary. I'll fix them quickly. Sorry.
--
* test/rexml/test_listener.rb: remove needless codes.
--
* test/rexml/: fix fixture data path. All REXML tests are worked.
--
* test/rexml/: untabify.
--
* test/rexml/test_core.rb: enable.
--
* test/rexml/test_sax.rb: don't use thread and sleep to avoid slow test.
--
* lib/rexml/xpath_parser.rb, test/rexml/test_xpath.rb:
  add missing method availability check. [ruby-core:32447]
  Reported by Wiebe Cazemier. Thanks!!!
--
Specify external encoding.

When external encoding is not specified, it uses default
external
encoding. But it depends the environment. So specify as
UTF-8 for
environments whose locale is not UTF-8.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-24 09:37:27 +00:00
yugui
c53b4f562b merges r29280 from trunk into ruby_1_9_2 and adds a minimal regression
test.
--
* lib/tracer.rb: count only non-internal libraries in stack trace,
  ignoring custom_require.  [ruby-core:31858]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-24 09:37:20 +00:00
yugui
1c1c514a67 merges r29269 from trunk into ruby_1_9_2.
--
* sprintf.c (rb_f_sprintf): fix rdoc.  pointed out by Tomoyuki
  Chikanaga at [ruby-core:32395], and a patch from Daniel
  Bovensiepen at [ruby-core:32403].

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-24 09:37:15 +00:00
yugui
f3244de816 merges r29268 from trunk into ruby_1_9_2.
--
* ext/etc/extconf.rb: use expanded sysconfdir with empty DESTDIR.
  [ruby-core:32394]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-24 09:37:10 +00:00
yugui
483d85b157 merges r29257 and r29258 from trunk into ruby_1_9_2.
--
	* test/net/imap/test_imap.rb: "localhost" not guaranteed to
	  resolve to "127.0.0.1".  On my machine it is "::1" instead.
	  The problem is, you have to connect to the imaps server via
	  the canonical name written in a server certificate, and that
	  of the server.cert is "localhost".  So you have to listen to
	  the address of what "localhost" resolves to.  I think this
	  situation cannot be resolved in a handy manner because the
	  test "test_imaps_post_connection_check" is actually
	  expecting to connect to a server via an address other than
	  the CN.  On my machine several assertions won't pass because
	  the test cannot connect to the server.
--
add ChangeLog entry for the previous one.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-24 09:37:06 +00:00
yugui
14dfd98ee4 merges r29256 from trunk into ruby_1_9_2.
--
* io.c (rb_io_puts): fix for wide char encoding strings.
  [ruby-dev:42212]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-24 09:37:02 +00:00
yugui
c2a3a47f40 merges r29254 from trunk into ruby_1_9_2.
--
* string.c (rb_str_times): mentioned about Hash argument.  a patch
  from Daniel Bovensiepen at [ruby-core:32386].

* sprintf.c (get_hash): ditto, and fix typo.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-15 11:44:05 +00:00
yugui
33ed9f92ba merges r29242 from trunk into ruby_1_9_2.
--
* ext/socket/rubysocket.h (__DARWIN_ALIGNBYTES): workaround of a
  bug in system header of darwin 9.  [ruby-core:32341]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-15 11:43:58 +00:00
yugui
8ff17ef269 merges r29187 and r29239 from trunk into ruby_1_9_2, but does not raise
an error. just warning.
--
* util.c (ruby_strtod): reject Float('0x0.').
  [ruby-dev:42239] Bug #3820
--
* util.c (ruby_strtod): check there is at least 1 digit after
  "0x" before ".". [ruby-dev:42183] #3790

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-15 11:43:50 +00:00
yugui
856e1f17f1 merges r29237 and r29238 from trunk into ruby_1_9_2.
--
* ext/openssl/ossl_bn.c (ossl_bn_is_prime): fix comparison
  with rb_scan_args. Before this fix, OpenSSL::BN#prime?
  is fully broken.
--
Add ML ref [ruby-dev:42225] for r29237.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-15 11:43:42 +00:00
yugui
7d4e89a7c0 merges r29234 from trunk into ruby_1_9_2.
--
	* lib/date.rb: [ruby-core:32096]  Thanks Colin Bartlett.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-15 11:43:34 +00:00
yugui
b5c27d1cab merged r29225 but just warning instead of raising an exception. c.f. [ruby-core:32250].
--
* hash.c (ruby_setenv): raise if putenv and SetEnvironmentVariable
  failed, because of the restriction of the size on Windows.
  based on a patch from Peter Weldon at [ruby-core:32304].  fix:
  Bug#3812, [ruby-core:32250]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-15 11:43:27 +00:00
yugui
b3c17635c2 merges r29223 from trunk into ruby_1_9_2.
--
* include/ruby/intern.h (rb_set_kcode, rb_get_kcode): removed
  zombie prototype declarations.  a patch from Eric Hodel
  at [ruby-core:32305].

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-15 11:43:14 +00:00
yugui
55c6c4edda merges r29205 from trunk into ruby_1_9_2.
--
* vm.c (vm_backtrace_each): skip allocator frames which have no
  name.  [ruby-core:32231]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-01 15:04:05 +00:00
yugui
c1fafacd12 merges r29201 from trunk into ruby_1_9_2.
--
* test/ruby/test_env.rb (test_aset): OpenBSD acts like NetBSD in
  that it ignores characters after = in ENV.
  patched by Jeremy Evans [ruby-core:32184]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-01 15:03:57 +00:00
yugui
f89c440e87 merges r29200 from trunk into ruby_1_9_2, but also leaves the old
files without suffixed.
--
* tool/rbinstall.rb (install?): gemspec filename should include
  its version. patched by Luis Lavena [ruby-core:32165]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-01 15:03:48 +00:00
yugui
ffb913796c merges r29190 from trunk into ruby_1_9_2.
--
        * Fixed wrong check of missing functions. Patch by Adrian Quark.
          ref #3400
          The patch contains following comment:
            This patch should avoid unnecessary incompatibility with future
            versions of Openssl.  Changes suggested by bmaher_at_amazon.com.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-01 15:03:37 +00:00
yugui
13fdd22f20 merges r29188 from trunk into ruby_1_9_2.
--
* ext/readline/readline.c (readline_s_get_line_buffer):
  Readline.line_buffer should return locale string.
  [ruby-dev:42184] #3791

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-01 15:03:31 +00:00
svn
62dcfe959f * 2010-11-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-01 15:01:58 +00:00
yugui
500be74c6a merges r29181 from trunk into ruby_1_9_2.
--
* file.c (rb_file_s_readlink): symlink target should be in
  filesystem encoding.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-01 15:01:51 +00:00
yugui
5e13dd7b53 merges r29156 from trunk into ruby_1_9_2.
--
* enum.c (enum_zip): fix typo of rdoc.
  patched by Andrei Kulakov [ruby-core:31974]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-23 13:38:47 +00:00
yugui
7f5d559cfc merges r29155 from trunk into ruby_1_9_2. fixes #3777, #3772 and #3722.
--
* thread.c (ruby_suppress_tracing): restore the state and invoke
  the func with normal state.  a patch from Satoshi Shiba <shiba
  AT rvm.jp> at [ruby-dev:42162].  [ruby-core:31783]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-23 13:38:37 +00:00
yugui
b98fa0b2a5 merges r29151 from trunk into ruby_1_9_2.
--
* ext/tk/stubs.c: fix [Bug #3771] "VC++ can't make ext/tk with enabling
  stubs". Thanks, Akio Tajima [ruby-dev:42159].

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-23 13:38:23 +00:00
yugui
ac83fcdc8e merges r29410 from trunk into ruby_1_9_2.
--
* parse.y (regexp): dregexp has literal string only at the head
  and successors are array.  [ruby-core:32682]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-23 13:02:52 +00:00
yugui
1cdb944024 merges r28944 from trunk into ruby_1_9_2. fixes #3932
--
* lib/un.rb (httpd): SIGQUIT and SIGHUP are not guaranteed to exist.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-23 12:53:37 +00:00
yugui
1e90b4a852 merges r28986 from trunk into ruby_1_9_2. fixes [ruby-core:32667]
--
* test/objspace/test_objspace.rb: added test for objspace.

* ext/objspace/objspace.c: considers T_ZOMBIE by lazy sweep GC.

* gc.c: considers that dsize was 0. [ruby-dev:42022]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-23 12:50:53 +00:00
yugui
d9cd722638 merges r29146 and r29148 from trunk into ruby_1_9_2.
--
* string.c (tr_setup_table): initialize negating table when
  negating string is given. [ruby-core:31851]

* string.c (tr_find): add a sentence for the time when
  target characters include negating one.

* string.c (rb_str_count): move definition.
--
* string.c (tr_setup_table): fix bug in r29146.
  Initialize table even if cflag is 0; tr_find see whether
  del is empty or not.

* string.c (tr_find): nodel can't be NULL; if NULL, it means
  it is not specified.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-23 10:02:41 +00:00
yugui
0d069bd2df merges r29140 and r29141 from trunk into ruby_1_9_2.
--
* lib/rdoc/parser/ruby.rb (RDoc#parse_class): ignore non-constant
  name signleton class.  [Bug #3759], [ruby-dev:42154]
--
* lib/rdoc/parser/ruby.rb (RDoc#parse_call_parameters): don't
  include assignment.  [Bug #3759], [ruby-dev:42154]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-23 09:37:26 +00:00
yugui
8ebcdf9ddf merges r29341 and r29343 from trunk into ruby_1_9_2.
--
* configure.in (LIBRUBY_DLDFLAGS): use -unexported_symbol only
  when available.  http://trac.macports.org/ticket/26341
--
* configure.in (LIBRUBY_DLDFLAGS): fix quoting.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-23 09:37:19 +00:00
yugui
a849436539 merges r29516 from trunk into ruby_1_9_2.
--
* Makefile.in (CPP): already used in .c.i rule.

* cygwin/GNUmakefile.in (DLLWRAP, WINDRES): add --driver-name and
  --preprocessor options explicitly.  [ruby-core:32776]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-23 09:37:11 +00:00
yugui
4f7232fd2e merges r29318 from trunk into ruby_1_9_2.
--
* vm_insnhelper.c (vm_cref_push): no outer cref is needed for proc
  from method.  Bug #3786, Bug #3860, [ruby-core:32501]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-23 09:37:01 +00:00
yugui
03144f6df0 merges r29415 from trunk into ruby_1_9_2. fixes #3910 #3951 and #3959.
--
* io.c (fptr_finalize): write_mutex might have been destroyed
  already in finalization phase, as the order of finalizers is not
  guaranteed.  rb_mutex_t should be used in place of Mutex object
  in the future.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-23 09:36:52 +00:00
yugui
cfdaa4dddc merges r29298 from trunk into ruby_1_9_2.
--
* configure.in (LIBRUBY_SO): fix an oversight of replace
  RUBY_INSTALL_NAME with RUBY_SO_NAME.  a patch from Jeremy Evans
  at [ruby-core:32474].

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-23 09:36:44 +00:00
yugui
738e62a3f1 merges r29133 from trunk into ruby_1_9_2.
--
* load.c (load_failed): should honor encoding.  [ruby-core:31915]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-23 09:36:38 +00:00
yugui
cfa233b52e merges tests from trunk before r29132 into ruby_1_9_2.
--
* test/pathname/test_pathname.rb (test_expand_path): should treat drive letter.

* test/pathname/test_pathnamr.rb (test_grpowned?): group onwer is not suppoted
  on DOSISH platforms.

* test/pathname/test_pathnamr.rb (test_world_readable?, test_sticky?,
  test_world_writable?): skip some tests on the assumptions for Unix on
  DOSISH.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-23 09:36:31 +00:00
svn
c243f9921d * 2010-10-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-23 09:34:53 +00:00
yugui
622d42881d version.h: reorder some lines to get rid of conflict between
my commits and automatic update of RUBY_RELEASE_DATE.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-23 09:34:51 +00:00
yugui
2ba6fbf44e merges r29113 from trunk into ruby_1_9_2.
--
* object.c (rb_obj_class): remove mention of obsolete method.
  a patch from Run Paint Run Run at [ruby-core:31842].

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-02 11:20:26 +00:00
yugui
90918d356a merges r29102 from trunk into ruby_1_9_2. fixes #3743.
--
* regint.h (OnigStackIndex): the type should be intptr_t.
  Original Oniguruma assumes the size of long and that of void *
  are equal, but it's not true on LLP64 platform: mswin64.
  originally patched by shintaro kuwamoto [ruby-dev:42133]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-02 11:20:21 +00:00
yugui
4c513b5e68 merges r29101 from trunk into ruby_1_9_2.
--
Creating dummy library for dl/fiddle tests on AIX.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-02 11:20:14 +00:00
yugui
c4c0c9d107 merges r29091 from trunk into ruby_1_9_2.
--
* ext/dl/cfunc.c (rb_dlcfunc_call): workaround for VC9 for x64.
  reported by kuwamoto shintaro in [ruby-dev:42125].

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-02 11:20:06 +00:00
yugui
76c0f01b0f merges r29075 from trunk into ruby_1_9_2.
--
        * backport r29071 from ruby_1_8;

          * ext/openssl/ossl_asn1.c (obj_to_asn1bool): fixed ASN1::Boolean 
            encoding issue for OpenSSL 1.0.0 compatibility.
            ASN1::Boolean.new(false).to_der wrongly generated "\1\1\377" which 
            means 'true'. 

            ASN1_TYPE_set of OpenSSL <= 0.9.8 treats value 0x100 as 'false' 
            but OpenSSL >= 1.0.0 treats it as 'true'.  ruby-ossl was using
            0x100 for 'false' for backward compatibility.  Just use 0x0 for
            the case OpenSSL >= OpenSSL 0.9.7.

          * test/openssl/test_asn1.rb: test added.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-02 11:20:01 +00:00
yugui
6f52fccb18 merges r29076 from trunk into ruby_1_9_2.
--
* common.mk (version.o): depends on both of version.h and
  include/ruby/version.h.   [ruby-dev:42063]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-02 11:19:55 +00:00
svn
63beea6243 * 2010-10-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-02 11:15:13 +00:00
yugui
9f3d470e8e merges r29074 from trunk into ruby_1_9_2.
--
* re.c (rb_reg_search): fix: 4th argument should be regexp
  object. patched by shintaro kuwamoto [ruby-dev:41667] #3459

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-02 11:15:07 +00:00
yugui
ace1ad2607 merges r29073 from trunk into ruby_1_9_2.
--
* util.c (ruby_strtod): make sure to have digit-sequence after 'p'
  for hexadecimal-floating-constant. [ruby-dev:42105]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-29 12:25:44 +00:00
yugui
96f0473ef6 merges r29068 from trunk into ruby_1_9_2.
--
* include/ruby/ruby.h (UINT2NUM): fix ifdef condition for LLP64.
  reported by Daniel Gutmanas.  [ruby-core:31778]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-29 12:25:38 +00:00
yugui
99f18d4d69 merges r29066 from trunk into ruby_1_9_2.
--
* configure.in: fix typo.  a patch from Eric Wong at
  [ruby-core:31810].

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-29 12:25:31 +00:00
yugui
2fd98b1d3e merges r29044 from trunk into ruby_1_9_2.
--
* array.c (rb_ary_permutation, rb_ary_repeated_permutation, rb_ary_repeated_combination, rb_ary_product): use ary_make_shared_copy instead of ary_make_substitution.  [ruby-dev:42067] [Bug #3708]
* test/ruby/test_array.rb (test_product, test_repeated_permutation, test_repeated_combination): append assertions against [Bug #3708].

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-29 12:25:24 +00:00