Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
libcifpp
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
libcifpp
Commits
11fea31b
Commit
11fea31b
authored
May 18, 2022
by
Maarten L. Hekkelman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more loading resources
parent
f629275e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
+5
-1
src/CifUtils.cpp
+5
-1
No files found.
src/CifUtils.cpp
View file @
11fea31b
...
@@ -1236,7 +1236,11 @@ std::unique_ptr<std::istream> loadResource(std::filesystem::path name)
...
@@ -1236,7 +1236,11 @@ std::unique_ptr<std::istream> loadResource(std::filesystem::path name)
}
}
if
(
not
result
and
(
not
fs
::
exists
(
p
,
ec
)
or
ec
)
and
not
gDataDir
.
empty
())
if
(
not
result
and
(
not
fs
::
exists
(
p
,
ec
)
or
ec
)
and
not
gDataDir
.
empty
())
p
=
gDataDir
/
name
;
{
auto
p2
=
gDataDir
/
p
;
if
(
fs
::
exists
(
p2
,
ec
)
and
not
ec
)
swap
(
p
,
p2
);
}
#if defined(CACHE_DIR)
#if defined(CACHE_DIR)
if
(
not
result
and
(
not
fs
::
exists
(
p
,
ec
)
or
ec
))
if
(
not
result
and
(
not
fs
::
exists
(
p
,
ec
)
or
ec
))
...
...
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