This is the mail archive of the
cygwin-patches@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: preliminary patch for incorporating internationalizing facilities
- To: Kazuhiro Fujieda <fujieda at jaist dot ac dot jp>
- Subject: Re: preliminary patch for incorporating internationalizing facilities
- From: Corinna Vinschen <vinschen at cygnus dot com>
- Date: Wed, 28 Jun 2000 23:00:31 +0200
- CC: cygwin-patches at sourceware dot cygnus dot com
- References: <s1sr99ho8cf.fsf@jaist.ac.jp>
- Reply-To: cygpatch <cygwin-patches at sourceware dot cygnus dot com>
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