diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-08-01 16:49:11 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-08-01 16:49:11 +0000 |
commit | 439b453e3aa244e7b824a55aa11768dca3d4a6f4 (patch) | |
tree | a6fb746854a9b77c8360dcbb2af2773af912efaa /file.c | |
parent | cc6d8c466ce623afed92b63db8d55ebc707c4c5e (diff) |
* file.c (strrdirsep): removed meaningless code.
* file.c (rb_file_s_expand_path): return to 1.66.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -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 |