diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-05-26 11:04:43 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-05-26 11:04:43 +0000 |
commit | 868eef7873f02e3e88f8fa5f94e076da7f2d7bd1 (patch) | |
tree | 548cec51213da0f9642d5d452b37b6c567f3aeea /file.c | |
parent | a77351eac07c409b2ebf9bae9d64fb86e8b7f923 (diff) |
* file.c (file_expand_path): revert a part of r22392. it's commit miss.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |