This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: java.io.File: "normalize" path names
- To: tromey at redhat dot com
- Subject: Re: java.io.File: "normalize" path names
- From: Bryce McKinlay <bryce at albatross dot co dot nz>
- Date: Fri, 13 Apr 2001 13:22:19 +1200
- Cc: java-patches at gcc dot gnu dot org
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 ]