mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-18 23:12:15 +08:00
move comment
This commit is contained in:
parent
e73f487b3c
commit
bcd1a9b6d1
@ -1516,8 +1516,6 @@ mount_info::conv_to_win32_path (const char *src_path, char *dst, device& dev,
|
|||||||
goto out_no_chroot_check;
|
goto out_no_chroot_check;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Check if the cygdrive prefix was specified. If so, just strip
|
|
||||||
off the prefix and transform it into an MS-DOS path. */
|
|
||||||
MALLOC_CHECK;
|
MALLOC_CHECK;
|
||||||
if (isproc (src_path))
|
if (isproc (src_path))
|
||||||
{
|
{
|
||||||
@ -1529,6 +1527,8 @@ mount_info::conv_to_win32_path (const char *src_path, char *dst, device& dev,
|
|||||||
strcpy (dst, src_path);
|
strcpy (dst, src_path);
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
/* Check if the cygdrive prefix was specified. If so, just strip
|
||||||
|
off the prefix and transform it into an MS-DOS path. */
|
||||||
else if (iscygdrive (src_path))
|
else if (iscygdrive (src_path))
|
||||||
{
|
{
|
||||||
int n = mount_table->cygdrive_len - 1;
|
int n = mount_table->cygdrive_len - 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user