From c13d0b0c9cee4757428c5843b2e3217be2ec315c Mon Sep 17 00:00:00 2001 From: naruse Date: Fri, 10 Feb 2012 21:12:44 +0000 Subject: * 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 --- dir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dir.c') diff --git a/dir.c b/dir.c index 1367ed0bda..a97f994cab 100644 --- a/dir.c +++ b/dir.c @@ -1907,7 +1907,7 @@ dir_entries(int argc, VALUE *argv, VALUE io) * match all files beginning with * c; *c will match * all files ending with c; and - * *c* will match all files that + * \*c* will match all files that * have c in them (including at * the beginning or end). Equivalent to * / .* /x in regexp. -- cgit v1.2.3