4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-31 11:30:56 +08:00

* 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

@ -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.

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;