aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'file.c')
-rw-r--r--file.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/file.c b/file.c
index 2241efa19d..5357163fe8 100644
--- a/file.c
+++ b/file.c
@@ -1312,9 +1312,6 @@ strrdirsep(path)
char *path;
{
char *last = NULL;
-#ifdef DOSISH
- if (ISALPHA(path[0]) && path[1] == ':') path += 2;
-#endif
while (*path) {
if (isdirsep(*path)) {
last = path++;
@@ -1438,12 +1435,6 @@ rb_file_s_expand_path(argc, argv)
}
b = ++s;
}
- else {
- p = CharNext(p);
- *p++ = '.';
- *p = '.';
- if (p >= bend) goto toolong;
- }
break;
case '/':
#if defined DOSISH