Patch: Change hardcoded '/' to DIR_SEPARATOR in jcf-io.c

Andrew Haley aph@redhat.com
Sun Apr 20 06:06:00 GMT 2003


Tom Tromey writes:
 > >>>>> "Mohan" == Mohan Embar <gnustuff@thisiscool.com> writes:
 > 
 > Mohan> This patch is needed to produce correct behavior when
 > Mohan> scandir()/alphasort() are present on Win32 platforms. It also
 > Mohan> seems to make more sense for all platforms because it
 > Mohan> eliminates a hardcoded directory separator.
 > 
 > Mohan> 2003-03-15  Mohan Embar  <gnustuff@thisiscool.com>
 > Mohan> 	* jcf-io.c (find_class): use DIR_SEPARATOR instead of
 > Mohan> 	'/' when computing java source filename
 > 
 > Did anybody review this?  I don't see it in the trunk, but I also
 > didn't see an explicit rejection.
 > 
 > Andrew would have to approve or reject it.  To me it looks ok though.

This looks fine.  I guess I missed it.

Andrew.



More information about the Gcc-patches mailing list