diff options
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1438,6 +1438,12 @@ 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 |