summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-05-26 11:04:43 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-05-26 11:04:43 +0000
commitfdef06a915400af8928afb605d431dd7b443e917 (patch)
tree031855461b935da126e9feedcf7fc3233d63f6f0
parentd155abf061cd8dabfe3f6a1bb935dc3c01724e82 (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_8@28027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file.c b/file.c
index fcf4548055..fe4583e88f 100644
--- a/file.c
+++ b/file.c
@@ -2727,7 +2727,7 @@ file_expand_path(fname, dname, 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;