This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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/





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