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: Bryce McKinlay <bryce at albatross dot co dot nz>
- Subject: Re: java.io.File: "normalize" path names
- From: Tom Tromey <tromey at redhat dot com>
- Date: 12 Apr 2001 10:22:54 -0600
- Cc: java-patches at gcc dot gnu dot org
- References: <3AD574DC.626F1FDD@albatross.co.nz>
- Reply-To: tromey at redhat dot com
>>>>> "Bryce" == Bryce McKinlay <bryce@albatross.co.nz> writes:
Bryce> Path names represented by File objects should not contain "any
Bryce> duplicate or redundant separator characters". This patch
Bryce> "normalizes" File paths which contain such characters,
Bryce> consistent with the JDK.
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.
Tom