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

ruby-changes:31553

From: zzak <ko1@a...>
Date: Sun, 10 Nov 2013 08:13:39 +0900 (JST)
Subject: [ruby-changes:31553] zzak:r43632 (trunk): * lib/drb/drb.rb: [DOC] promote better windows-safe filename regular

zzak	2013-11-10 08:13:35 +0900 (Sun, 10 Nov 2013)

  New Revision: 43632

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

  Log:
    * lib/drb/drb.rb: [DOC] promote better windows-safe filename regular
      expression in DRb Logger example. Reported by Chris Pheonix
      [Bug #9074]

  Modified files:
    trunk/ChangeLog
    trunk/lib/drb/drb.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 43631)
+++ ChangeLog	(revision 43632)
@@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sun Nov 10 08:09:29 2013  Zachary Scott  <e@z...>
+
+	* lib/drb/drb.rb: [DOC] promote better windows-safe filename regular
+	  expression in DRb Logger example. Reported by Chris Pheonix
+	  [Bug #9074]
+
 Sun Nov 10 08:03:05 2013  Nobuyoshi Nakada  <nobu@r...>
 
 	* gc.c (rb_define_finalizer, rb_undefine_finalizer): rename and export
Index: lib/drb/drb.rb
===================================================================
--- lib/drb/drb.rb	(revision 43631)
+++ lib/drb/drb.rb	(revision 43632)
@@ -231,7 +231,7 @@ require 'drb/eq' https://github.com/ruby/ruby/blob/trunk/lib/drb/drb.rb#L231
 #       def get_logger(name)
 #           if !@loggers.has_key? name
 #               # make the filename safe, then declare it to be so
-#               fname = name.gsub(/[.\/]/, "_").untaint
+#               fname = name.gsub(/[.\/\\\:]/, "_").untaint
 #               @loggers[name] = Logger.new(name, @basedir + "/" + fname)
 #           end
 #           return @loggers[name]

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

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