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

ruby-changes:38136

From: akr <ko1@a...>
Date: Fri, 10 Apr 2015 23:47:44 +0900 (JST)
Subject: [ruby-changes:38136] akr:r50217 (trunk): Use more shorter filenames to avoid sockaddr_un size limitation.

akr	2015-04-10 23:47:28 +0900 (Fri, 10 Apr 2015)

  New Revision: 50217

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

  Log:
    Use more shorter filenames to avoid sockaddr_un size limitation.

  Modified files:
    trunk/test/ruby/test_file_exhaustive.rb
Index: test/ruby/test_file_exhaustive.rb
===================================================================
--- test/ruby/test_file_exhaustive.rb	(revision 50216)
+++ test/ruby/test_file_exhaustive.rb	(revision 50217)
@@ -54,7 +54,7 @@ class TestFileExhaustive < Test::Unit::T https://github.com/ruby/ruby/blob/trunk/test/ruby/test_file_exhaustive.rb#L54
   end
 
   def make_tmp_filename(prefix)
-    "#{@dir}/#{prefix}.#{$$}.test"
+    "#{@dir}/#{prefix}.test"
   end
 
   def test_path

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

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