* 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:
parent
cbfb7b1b23
commit
c2b8862303
|
@ -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>
|
2006-10-21 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* regtool.cc (key_type): Drop.
|
* regtool.cc (key_type): Drop.
|
||||||
|
|
|
@ -52,12 +52,9 @@ static void
|
||||||
do_mount (const char *dev, const char *where, int flags)
|
do_mount (const char *dev, const char *where, int flags)
|
||||||
{
|
{
|
||||||
struct stat statbuf;
|
struct stat statbuf;
|
||||||
char win32_path[MAX_PATH];
|
|
||||||
int statres;
|
int statres;
|
||||||
|
|
||||||
cygwin_conv_to_win32_path (where, win32_path);
|
statres = stat (where, &statbuf);
|
||||||
|
|
||||||
statres = stat (win32_path, &statbuf);
|
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
if (statres == -1)
|
if (statres == -1)
|
||||||
|
|
Loading…
Reference in New Issue