* path.cc (symlink_info::case_check): Ignore trailing characters
in paths when comparing case.
This commit is contained in:
parent
18ef968f40
commit
e8cf344cf6
|
@ -1,3 +1,8 @@
|
|||
2005-03-30 Igor Pechtchanski <pechtcha@cs.nyu.edu>
|
||||
|
||||
* path.cc (symlink_info::case_check): Ignore trailing characters
|
||||
in paths when comparing case.
|
||||
|
||||
2005-03-30 Christopher Faylor <cgf@timesys.com>
|
||||
|
||||
* environ.h (win_env::immediate): Declare new field.
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue