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:
authorChristopher Faylor <me@cgf.cx>2006-12-11 00:50:06 +0300
committerChristopher Faylor <me@cgf.cx>2006-12-11 00:50:06 +0300
commitc2b8862303ad51c1b8f1dc62bf8c99f9a343e63f (patch)
tree421f9e2ebfdf3859befe2f03623403fbe8918684
parentcbfb7b1b23fe1e382298b45cbcb214c8d088ac77 (diff)
* mount.cc (do_mount): Avoid unnecessary cygwin_conv_to_win32_path and pass
POSIX path directly - this avoids a cygwin DLL warning.
-rw-r--r--winsup/utils/ChangeLog5
-rw-r--r--winsup/utils/mount.cc5
2 files changed, 6 insertions, 4 deletions
diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog
index 58db2ed19..80055055f 100644
--- a/winsup/utils/ChangeLog
+++ b/winsup/utils/ChangeLog
@@ -1,3 +1,8 @@
+2006-12-10 Christopher Faylor <cgf@timesys.com>
+
+ * mount.cc (do_mount): Avoid unnecessary cygwin_conv_to_win32_path and
+ pass POSIX path directly - this avoids a cygwin DLL warning.
+
2006-10-21 Corinna Vinschen <corinna@vinschen.de>
* regtool.cc (key_type): Drop.
diff --git a/winsup/utils/mount.cc b/winsup/utils/mount.cc
index 941064292..ec2d9b63e 100644
--- a/winsup/utils/mount.cc
+++ b/winsup/utils/mount.cc
@@ -52,12 +52,9 @@ static void
do_mount (const char *dev, const char *where, int flags)
{
struct stat statbuf;
- char win32_path[MAX_PATH];
int statres;
- cygwin_conv_to_win32_path (where, win32_path);
-
- statres = stat (win32_path, &statbuf);
+ statres = stat (where, &statbuf);
#if 0
if (statres == -1)