[前][次][番号順一覧][スレッド一覧]

ruby-changes:33918

From: akr <ko1@a...>
Date: Sun, 18 May 2014 17:33:48 +0900 (JST)
Subject: [ruby-changes:33918] akr:r45999 (trunk): Fix a constant reference.

akr	2014-05-18 17:33:39 +0900 (Sun, 18 May 2014)

  New Revision: 45999

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=45999

  Log:
    Fix a constant reference.

  Modified files:
    trunk/test/ruby/test_m17n_comb.rb
Index: test/ruby/test_m17n_comb.rb
===================================================================
--- test/ruby/test_m17n_comb.rb	(revision 45998)
+++ test/ruby/test_m17n_comb.rb	(revision 45999)
@@ -727,7 +727,7 @@ class TestM17NComb < Test::Unit::TestCas https://github.com/ruby/ruby/blob/trunk/test/ruby/test_m17n_comb.rb#L727
   def test_str_crypt
     strict_crypt = nil
     # glibc 2.16 or later denies salt contained other than [0-9A-Za-z./] #7312
-    if defined? Etc::Etc::CS_GNU_LIBC_VERSION
+    if defined? Etc::CS_GNU_LIBC_VERSION
       glibcver = Etc.confstr(Etc::CS_GNU_LIBC_VERSION).scan(/\d+/).map(&:to_i)
       strict_crypt = (glibcver <=> [2, 16]) >= 0
     end

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]