This is the mail archive of the java-patches@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]

Re: java.io.File: "normalize" path names


On Friday, April 13, 2001, at 04:22  AM, Tom Tromey wrote:

> FYI, my understanding is that in POSIX a leading `//' is allowed to
> have a special meaning.  Does anybody have a reference available?
> This might only be meaningful in a pedantic sense.  There might not be
> systems in use where it matters.

Well, I implemented the behaviour that was observed with a test case 
running on the JDK, and it reduced a leading '//' to a single '/'. Since 
I can't think of any actual situation where it would matter, its 
probably best to stick with what the JDK does for now.

regards

   [ bryce ]


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