* path.cc (mount_info::cygdrive_posix_path): Handle e:foo construction

correctly.
This commit is contained in:
Christopher Faylor
2000-10-09 18:10:53 +00:00
parent 44e939882a
commit dc7f5226eb
2 changed files with 11 additions and 1 deletions

View File

@@ -1156,8 +1156,13 @@ mount_info::cygdrive_posix_path (const char *src, char *dst, int trailing_slash_
dst[len++] = '\000';
else
{
int n;
dst[len++] = '/';
strcpy (dst + len, src + 3);
if (SLASH_P (src[2]))
n = 3;
else
n = 2;
strcpy (dst + len, src + n);
}
slashify (dst, dst, trailing_slash_p);
}