diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | dir.c | 4 |
2 files changed, 8 insertions, 2 deletions
@@ -1,3 +1,9 @@ +Sat Sep 10 13:38:20 2011 Ayumu AIZAWA <ayumu.aizawa@gmail.com> + + * 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 <ko1@atdot.net> * gc.c (GC_PROFILE_MORE_DETAIL, CALC_EXACT_MALLOC_SIZE): @@ -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. - * <code>\</code>:: Escapes the next metacharacter. + * <code> \ </code>:: 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 * (<code>[^a-z]</code>). - * <code>\</code>:: Escapes the next metacharacter. + * <code> \ </code>:: Escapes the next metacharacter. * * <i>flags</i> is a bitwise OR of the <code>FNM_xxx</code> * parameters. The same glob pattern and flags are used by |