summaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-02-10 21:14:03 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-02-10 21:14:03 +0000
commitd14b60fff0cc5d10b4573172d343411035e01ead (patch)
tree20bb4e3d042d7e5eb1d6a72ffc60aa1fbecdeeaf /dir.c
parenta208a7507244c3819beff06ddf422066437ed5b5 (diff)
merge revision(s) 34547:
* 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/branches/ruby_1_9_3@34548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dir.c')
-rw-r--r--dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dir.c b/dir.c
index 128e2c8c8f..c530387df7 100644
--- a/dir.c
+++ b/dir.c
@@ -1911,7 +1911,7 @@ dir_entries(int argc, VALUE *argv, VALUE io)
* 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.