commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Benson (JIRA)" <j...@apache.org>
Subject [jira] Commented: (IO-171) IO assumes there are only two OSes: Windows and Unix
Date Fri, 30 May 2008 20:46:45 GMT

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

Matt Benson commented on IO-171:
--------------------------------

While I'm too lazy to properly read the whole issue, I'll contribute the knowledge that OSX
defaults to a non-cs filesystem; if you want cs you have to set that up explicitly.  Kind
of irritated me; I had already put enough stuff on the disk that I didn't want to screw with
it by the time I found out.  :(  Ant _still_ lacks a decent way to detect this at RT so if
anybody has any brilliant ideas count me interested.

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


Mime
View raw message