* mount.cc (do_mount): Avoid unnecessary cygwin_conv_to_win32_path and pass

POSIX path directly - this avoids a cygwin DLL warning.
This commit is contained in:
Christopher Faylor 2006-12-10 21:50:06 +00:00
parent cbfb7b1b23
commit c2b8862303
2 changed files with 6 additions and 4 deletions

View File

@ -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.

View File

@ -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)