From 35551be6028626c44f90050be5937a48dbf7731b Mon Sep 17 00:00:00 2001 From: ayumin Date: Sat, 10 Sep 2011 04:43:12 +0000 Subject: [PATCH] * dir.c: Two small documentation fixes. [Bug #5302] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 6 ++++++ dir.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2e3a87b973..1fb33872eb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Sat Sep 10 13:38:20 2011 Ayumu AIZAWA + + * dir.c (dir_s_aref): + * dir.c (dir_entries): Two small documentation fixes. + A patch from Aaron Lerch. [Bug #5302] [ruby-core:39404] + Sat Sep 10 08:30:03 2011 Koichi Sasada * gc.c (GC_PROFILE_MORE_DETAIL, CALC_EXACT_MALLOC_SIZE): diff --git a/dir.c b/dir.c index 128e2c8c8f..fb41ce1e24 100644 --- a/dir.c +++ b/dir.c @@ -1779,7 +1779,7 @@ dir_s_aref(int argc, VALUE *argv, VALUE obj) * More than two literals may be specified. * Equivalent to pattern alternation in * regexp. - * \:: Escapes the next metacharacter. + * \ :: Escapes the next metacharacter. * Note that this means you cannot use backslash in windows * as part of a glob, i.e. Dir["c:\\foo*"] will not work * use Dir["c:/foo*"] instead @@ -1923,7 +1923,7 @@ dir_entries(int argc, VALUE *argv, VALUE io) * Behaves exactly like character sets in * Regexp, including set negation * ([^a-z]). - * \:: Escapes the next metacharacter. + * \ :: Escapes the next metacharacter. * * flags is a bitwise OR of the FNM_xxx * parameters. The same glob pattern and flags are used by