This is the mail archive of the cygwin-patches@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: preliminary patch for incorporating internationalizing facilities


Kazuhiro Fujieda wrote:
> diff -u -p -r1.34 path.cc
> --- path.cc     2000/06/16 23:39:02     1.34
> +++ path.cc     2000/06/28 17:13:14
> [...]
> @@ -1566,7 +1566,7 @@ sort_by_native_name (const void *a, cons
> 
>    /* The two paths were the same length, so just determine normal
>       lexical sorted order. */
> -  res = strcasecmp (ap->posix_path, bp->posix_path);
> +  res = strcmp (ap->native_path, bp->native_path);

I don't understand that part. It seems to be a clear mistake that
the posix paths are compared but why are you using `strcmp' now?
What's about the case?

Corinna

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]