* mount.cc (mount_info::from_fstab_line): Always convert drive

letter in native path to uppercase.
	* path.cc (normalize_win32_path): Ditto.
	(path_prefix_p): Revert previous patch.

	* path.cc (symlink_info::check): Check for STATUS_INVALID_PARAMETER
	return code to circumvent weird behaviour of Samba 3.2.x shares.
This commit is contained in:
Corinna Vinschen
2009-01-09 16:20:26 +00:00
parent d95d8c5393
commit 54a83cc65a
3 changed files with 34 additions and 24 deletions

View File

@@ -876,6 +876,9 @@ mount_info::from_fstab_line (char *line, bool user)
char *cend = find_ws (c);
*cend = '\0';
native_path = conv_fstab_spaces (c);
/* Always convert drive letter to uppercase for case sensitivity. */
if (isdrive (native_path))
native_path[0] = cyg_toupper (native_path[0]);
/* Second field: POSIX path. */
c = skip_ws (cend + 1);
if (!*c)