diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | file.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Wed May 26 19:55:33 2010 NAKAMURA Usaku <usa@ruby-lang.org> + + * file.c (file_expand_path): revert a part of r22392. it's commit miss. + Wed May 26 18:40:23 2010 Masaya Tarui <tarui@ruby-lang.org> * test/rinda/test_rinda.rb (TupleSpaceTest, TupleSpaceProxyTest): @@ -3051,7 +3051,7 @@ file_expand_path(VALUE fname, VALUE dname, int abs_mode, VALUE result) } if (p == skiproot(buf) - 1) p++; -#if USE_NTFS && defined __WIN32__ +#if USE_NTFS *p = '\0'; if ((s = strrdirsep(b = buf)) != 0 && !strpbrk(s, "*?")) { size_t len; |