OCaml Forge
Bugs
Search the entire project
This project's trackers
This project's releases
This project's news
Project
People
Advanced search
Log In
New Account
Home
My Page
Projects
Code Snippets
OCaml fileutils
Summary
Activity
Tracker
News
Files
Detail: [#951] is_subdir with relative pathname and current dir
Bugs: Browse
|
Download .csv
|
Monitor
[#951] is_subdir with relative pathname and current dir
Date:
2011-04-09 09:45
Priority:
3
State:
Open
Submitted by:
Sylvain Le Gall (
gildor-admin
)
Assigned to:
Sylvain Le Gall (gildor-admin)
Resolution:
Accepted As Bug
Severity:
normal
Version:
v0.4.2
Operating System:
Linux
Summary:
is_subdir with relative pathname and current dir
Detailed description
A relative filename should be a subdir of the current directory:
# open FilePath;;
# is_current "";;
- : bool = true
# is_current ".";;
- : bool = true
# is_subdir "a/b/c" "";;
- : bool = false (1)
# is_subdir "a/b/c" ".";;
- : bool = false (2)
# is_subdir "a/b/c" "a";;
- : bool = true
(1) and (2) should be true.
Followup
No Followups Have Been Posted
Attached Files:
Changes:
Field
Old Value
Date
By
Version
None
2011-04-09 09:45
gildor-admin