mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-29 18:40:25 +08:00
* path.cc (mount_info::cygdrive_posix_path): Handle e:foo construction
correctly.
This commit is contained in:
parent
44e939882a
commit
dc7f5226eb
@ -1,3 +1,8 @@
|
||||
Mon Oct 9 14:07:04 2000 Christopher Faylor <cgf@cygnus.com>
|
||||
|
||||
* path.cc (mount_info::cygdrive_posix_path): Handle e:foo construction
|
||||
correctly.
|
||||
|
||||
Mon Oct 9 16:44:00 2000 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* fhandler_mem.cc (fhandler_dev_mem::fhandler_dev_mem):
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user