* path.cc (symlink_info::case_check): Ignore trailing characters

in paths when comparing case.
This commit is contained in:
Corinna Vinschen
2005-03-30 20:01:43 +00:00
parent 18ef968f40
commit e8cf344cf6
2 changed files with 6 additions and 1 deletions

View File

@@ -3230,7 +3230,7 @@ symlink_info::case_check (char *path)
FindClose (h);
/* If that part of the component exists, check the case. */
if (strcmp (c, data.cFileName))
if (strncmp (c, data.cFileName, strlen (data.cFileName)))
{
case_clash = true;