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: Patch: Fix PR/6652 on MinGW


>>>>> "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


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