Outstanding patches

Ranjit Mathew rmathew4lists@hotmail.com
Tue Mar 11 05:32:00 GMT 2003


>  > Index: ChangeLog
>  > from  Ranjit Mathew  <rmathew@hotmail.com>
>  > 
>  >  * jcf-parse.c (set_source_filename): Use COMPARE_FILENAMES
>  >  instead of strcmp to compare file names. 
>  >  Use IS_DIR_SEPARATOR instead of directly comparing to
>  >  '/' and '\\'.
>  > 
>  >  * jcf-write.c (generate_classfile): Use IS_DIR_SEPARATOR 
>  >  instead of directly comparing to '/' and '\\'.
> 
> What does this fix?

This (and the one following it, merged into a common patch later)
are not "fixing" anything as such, but IMHO are The Right Thing
To Do w.r.t. directory separators.

The file names/name-component comparisons bits are obviously (to
me) the right thing to do if one has a case-insensitive filesystem.

Ranjit.



More information about the Java-patches mailing list