Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/path.cc')
-rw-r--r--winsup/cygwin/path.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc
index e818ed9fd..8e1775c3c 100644
--- a/winsup/cygwin/path.cc
+++ b/winsup/cygwin/path.cc
@@ -1390,13 +1390,13 @@ mount_info::conv_to_win32_path (const char *src_path, char *dst,
{
unit = 0;
dst[0] = '\0';
+ if (mount_table->cygdrive_len > 1)
+ devn = FH_CYGDRIVE;
}
else if (!cygdrive_win32_path (pathbuf, dst, unit))
return ENOENT;
else
*flags = cygdrive_flags;
- if (mount_table->cygdrive_len > 1)
- devn = FH_CYGDRIVE;
goto out;
}