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: Mohan Embar <gnustuff at thisiscool dot com>
- To: tromey at redhat dot com
- Cc: mingw-dvlpr at lists dot sourceforge dot net, GCJ Java <java at gcc dot gnu dot org>
- Date: Sat, 26 Jul 2003 17:18:57 -0500
- Subject: Re: [MinGW-dvlpr] scandir( )/alphasort( ) for libmingwex
- Reply-to: gnustuff at thisiscool dot com
Hi Tom,
>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.
>Seriously, something like that could be wrapped in some more graceful
>macro.
I understand the macro part - I was just trying to make things more explicit
for the post.
>I don't think the idea is really controversial; we want gcj to work on Windows.
Okay, I'll get cracking on this. Now where did I put that scandir()/alphasort()
implementation? Here kitty, kitty, kitty....
-- Mohan
http://www.thisiscool.com/
http://www.animalsong.org/