Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
why3
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
126
Issues
126
List
Boards
Labels
Service Desk
Milestones
Merge Requests
16
Merge Requests
16
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Why3
why3
Commits
ec682b32
Commit
ec682b32
authored
Nov 16, 2011
by
Andrei Paskevich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove Filename.dir_sep
parent
4549d047
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
src/core/env.ml
src/core/env.ml
+1
-5
No files found.
src/core/env.ml
View file @
ec682b32
...
...
@@ -130,13 +130,9 @@ let locate_file name lp path =
exception
InvalidQualifier
of
string
let
check_qualifier
s
=
let
find_dir_sep
s
=
let
re
=
Str
.
regexp_string
Filename
.
dir_sep
in
try
ignore
(
Str
.
search_forward
re
s
0
);
true
with
Not_found
->
false
in
if
(
s
=
Filename
.
parent_dir_name
||
s
=
Filename
.
current_dir_name
||
find_dir_sep
s
)
Filename
.
basename
s
<>
s
)
then
raise
(
InvalidQualifier
s
)
let
find_channel
env
f
sl
=
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment