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

ruby-changes:22498

From: naruse <ko1@a...>
Date: Sat, 11 Feb 2012 06:12:58 +0900 (JST)
Subject: [ruby-changes:22498] naruse:r34547 (trunk): * dir.c (fnmatch): The * needs to be escaped to avoid formatting in

naruse	2012-02-11 06:12:44 +0900 (Sat, 11 Feb 2012)

  New Revision: 34547

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

  Log:
    * dir.c (fnmatch): The * needs to be escaped to avoid formatting in
      fnmatch comment.
      patched by @dalton. https://github.com/ruby/ruby/pull/91

  Modified files:
    trunk/ChangeLog
    trunk/dir.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 34546)
+++ ChangeLog	(revision 34547)
@@ -1,3 +1,9 @@
+Sat Feb 11 06:00:48 2012  NARUSE, Yui  <naruse@r...>
+
+	* dir.c (fnmatch): The * needs to be escaped to avoid formatting in
+	  fnmatch comment.
+	  patched by @dalton. https://github.com/ruby/ruby/pull/91
+
 Fri Feb 10 03:41:31 2012  Aaron Patterson <aaron@t...>
 
 	* ext/psych/parser.c: removed external encoding setter, allow parser
Index: dir.c
===================================================================
--- dir.c	(revision 34546)
+++ dir.c	(revision 34547)
@@ -1907,7 +1907,7 @@
  *                          match all files beginning with
  *                          <code>c</code>; <code>*c</code> will match
  *                          all files ending with <code>c</code>; and
- *                          <code>*c*</code> will match all files that
+ *                          <code>\*c*</code> will match all files that
  *                          have <code>c</code> in them (including at
  *                          the beginning or end). Equivalent to
  *                          <code>/ .* /x</code> in regexp.

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

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