You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Henri Yandell (JIRA)" <ji...@apache.org> on 2008/08/22 09:28:44 UTC

[jira] Commented: (IO-171) IO assumes there are only two OSes: Windows and Unix

    [ https://issues.apache.org/jira/browse/IO-171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12624601#action_12624601 ] 

Henri Yandell commented on IO-171:
----------------------------------

Sod OpenVMS, but OS X is a big enough deal that we should be concerned with it.

Configuring OS X for true case sensitivity means using UFS iirc. Which is slow and crappy. Tried it once, laughed and moved back.

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