* path.c (path_conv::check): Avoid directly referencing fields of the dev

structure when it can be easily avoided.
This commit is contained in:
Christopher Faylor 2012-04-06 04:40:49 +00:00
parent 7217f94752
commit 25fdb1ded1
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2012-04-06 Christopher Faylor <me.cygwin2012@cgf.cx>
* path.c (path_conv::check): Avoid directly referencing fields of the
dev structure when it can be easily avoided.
2012-04-05 Corinna Vinschen <corinna@vinschen.de>
* include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 14.

View File

@ -896,7 +896,7 @@ is_virtual_symlink:
if (sym.error == ENOENT && !(opt & PC_KEEP_HANDLE))
sym.error = EROFS;
else
dev.d.devn = FH_FS;
dev = FH_FS;
}
/* If symlink.check found an existing non-symlink file, then