This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: [MinGW-dvlpr] scandir( )/alphasort( ) for libmingwex
- From: Tom Tromey <tromey at redhat dot com>
- To: gnustuff at thisiscool dot com
- Cc: mingw-dvlpr at lists dot sourceforge dot net, GCJ Java <java at gcc dot gnu dot org>
- Date: 26 Jul 2003 15:45:11 -0600
- Subject: Re: [MinGW-dvlpr] scandir( )/alphasort( ) for libmingwex
- References: <WV76LIC0EAFC9364ZUUOIFWTTRI63IG.3f208f00@p733>
- Reply-to: tromey at redhat dot com
>>>>> "Mohan" == Mohan Embar <gnustuff@thisiscool.com> writes:
Mohan> For example, lines like this:
Mohan> buffer[i] = ch == '.' ? '/' : ch;
Mohan> would need to become
Mohan> buffer[i] = (ch=='.' || IS_DIR_SEPARATOR(ch)) ? DIR_SEPARATOR : ch
Mohan> to properly canonicalize the cached paths. I envisioned the
Mohan> arm-twisting needed to explain the rationale behind this to
Mohan> Tom, who's already got a massive backlog, and got demotivated.
It's no trouble -- Andrew would be reviewing this :-)
Seriously, something like that could be wrapped in some more graceful
macro. I don't think the idea is really controversial; we want gcj to
work on Windows.
Tom