Return-Path: Delivered-To: apmail-commons-issues-archive@locus.apache.org Received: (qmail 62023 invoked from network); 20 Jun 2008 11:08:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Jun 2008 11:08:45 -0000 Received: (qmail 89628 invoked by uid 500); 20 Jun 2008 11:08:45 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 89561 invoked by uid 500); 20 Jun 2008 11:08:45 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 89546 invoked by uid 99); 20 Jun 2008 11:08:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Jun 2008 04:08:45 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Jun 2008 11:07:56 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 0C7A6234C147 for ; Fri, 20 Jun 2008 04:07:45 -0700 (PDT) Message-ID: <927056086.1213960065049.JavaMail.jira@brutus> Date: Fri, 20 Jun 2008 04:07:45 -0700 (PDT) From: "Sebb (JIRA)" To: issues@commons.apache.org Subject: [jira] Commented: (IO-171) IO assumes there are only two OSes: Windows and Unix In-Reply-To: <1828763199.1211715116638.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/IO-171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12606708#action_12606708 ] Sebb commented on IO-171: ------------------------- According to this article, Mac OSX using HFS+ is case-preserving but case-insensitive: http://www.kernelthread.com/mac/osx/arch_fs.html I.e. the same as Windows. > IO assumes there are only two OSes: Windows and Unix > ---------------------------------------------------- > > Key: IO-171 > URL: https://issues.apache.org/jira/browse/IO-171 > Project: Commons IO > Issue Type: Bug > Reporter: Sebb > Priority: Minor > > Just noticed that IO assumes systems are either: > Windows-like: > * File.separatorChar = \ > * Case-insensitive matching > or > Unix-like: > * File.separatorChar = / > * Case-sensitive matching > It may well be true that there are only two different file sepator characters, but it is not true that all non-Windows systems use case-sensitive matching. > For example, OpenVMS uses a file separator char of /, but originally only supported case-insensitive file names (always shown as uppercase). > Current versions of OpenVMS support both upper and lower-case; the default is to use case-insenstive matching (and upper case names). > Perhaps the IOCase.SYSTEM constant needs to have an "Unknown" or "Variable" setting for this; it would then be an error to use IOCase.SYSTEM to determine the case sensitivity. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.