Patch: Fix PR/6652 on MinGW
Tom Tromey
tromey@redhat.com
Sun Oct 19 20:45:00 GMT 2003
>>>>> "Mohan" == Mohan Embar <gnustuff@thisiscool.com> writes:
Mohan> 2003-10-18 Mohan Embar <gnustuff@thisiscool.com>
Mohan> PR libgcj/6652:
Mohan> * java/io/natFileWin32.cc (getCanonicalPath): Treat "" like ".".
This looks fine to me. One note...
Mohan> + const char* thepath = *cpath.buf() ? cpath.buf() : ".";
Mohan> + // "" becomes "."
Put comments before the code, not after.
Tom
More information about the Java
mailing list