diff --git a/ChangeLog b/ChangeLog index 7c858419d2..7388d14051 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Sat Feb 11 06:00:48 2012 NARUSE, Yui + + * 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 * ext/psych/parser.c: removed external encoding setter, allow parser 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.