1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* dir.c (fnmatch): The * needs to be escaped to avoid formatting in

fnmatch comment.
  patched by @dalton. https://github.com/ruby/ruby/pull/91

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2012-02-10 21:12:44 +00:00
parent 198736fb40
commit c13d0b0c9c
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
Sat Feb 11 06:00:48 2012 NARUSE, Yui <naruse@ruby-lang.org>
* 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@tenderlovemaking.com> Fri Feb 10 03:41:31 2012 Aaron Patterson <aaron@tenderlovemaking.com>
* ext/psych/parser.c: removed external encoding setter, allow parser * ext/psych/parser.c: removed external encoding setter, allow parser

2
dir.c
View file

@ -1907,7 +1907,7 @@ dir_entries(int argc, VALUE *argv, VALUE io)
* match all files beginning with * match all files beginning with
* <code>c</code>; <code>*c</code> will match * <code>c</code>; <code>*c</code> will match
* all files ending with <code>c</code>; and * 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 * have <code>c</code> in them (including at
* the beginning or end). Equivalent to * the beginning or end). Equivalent to
* <code>/ .* /x</code> in regexp. * <code>/ .* /x</code> in regexp.