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

ruby-changes:25370

From: nobu <ko1@a...>
Date: Fri, 2 Nov 2012 20:11:33 +0900 (JST)
Subject: [ruby-changes:25370] nobu:r37427 (trunk): mkmf.rb: timestamp_file

nobu	2012-11-02 20:11:21 +0900 (Fri, 02 Nov 2012)

  New Revision: 37427

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

  Log:
    mkmf.rb: timestamp_file
    
    * lib/mkmf.rb (MakeMakefile#timestamp_file): remove @ which looks like
      configure variables.

  Modified files:
    trunk/ChangeLog
    trunk/lib/mkmf.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 37426)
+++ ChangeLog	(revision 37427)
@@ -1,5 +1,8 @@
-Fri Nov  2 20:02:22 2012  Nobuyoshi Nakada  <nobu@r...>
+Fri Nov  2 20:11:17 2012  Nobuyoshi Nakada  <nobu@r...>
 
+	* lib/mkmf.rb (MakeMakefile#timestamp_file): remove @ which looks like
+	  configure variables.
+
 	* lib/mkmf.rb (MakeMakefile#timestamp_file): use .-. instead of !, a
 	  special character of NMAKE and BSD make.  [Bug #7265]
 
@@ -17,7 +20,7 @@
 	  a refinement, returns a string in the format #<refinement:C@M>,
 	  where C is a refined class and M is a module at which the refinemet
 	  is defined.
-	
+
 	* eval.c (rb_mod_refine): store information on a refinement for the
 	  above change.
 
Index: lib/mkmf.rb
===================================================================
--- lib/mkmf.rb	(revision 37426)
+++ lib/mkmf.rb	(revision 37427)
@@ -1859,7 +1859,7 @@
   end
 
   def timestamp_file(name)
-    name = name.gsub(/(\$[({]|[})])|(\/+)|[^-.\w]+/) {$1 ? "@" : $2 ? ".-." : "_"}
+    name = name.gsub(/(\$[({]|[})])|(\/+)|[^-.\w]+/) {$1 ? "" : $2 ? ".-." : "_"}
     "./.#{name}.time"
   end
   # :startdoc:

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

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