[MinGW-dvlpr] scandir( )/alphasort( ) for libmingwex

Mohan Embar gnustuff@thisiscool.com
Sat Jul 26 22:19:00 GMT 2003


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/


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /