couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Li Zhengji (JIRA)" <j...@apache.org>
Subject [jira] Created: (COUCHDB-85) couch_server:all_databases() does not work on file name case-insensitive OS, such as Windows.
Date Tue, 24 Jun 2008 01:19:45 GMT
couch_server:all_databases() does not work on file name case-insensitive OS, such as Windows.
---------------------------------------------------------------------------------------------

                 Key: COUCHDB-85
                 URL: https://issues.apache.org/jira/browse/COUCHDB-85
             Project: CouchDB
          Issue Type: Bug
    Affects Versions: 0.8
         Environment: Windows XP, 	Erlang/OTP R12B-3
            Reporter: Li Zhengji


"Filename -- Root": the "--" here will not work as we want obviously. For example, Filename
= "e:/aa.couch", Root = "E:/", then (Filename -- Root) = "eaa.couch". Not to say "/" and "\"
on Windows.  

"--" should not be used here. The simple way to do this would be: delete(FileName, 1, length(Root)).

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