Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Corryvreckan
Corryvreckan
Commits
5ccb3d38
Commit
5ccb3d38
authored
Oct 10, 2017
by
Simon Spannagel
Browse files
Timepix3EventLoader: fix issue with missing dirent type
parent
1aafe19c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/algorithms/Timepix3EventLoader.C
View file @
5ccb3d38
...
...
@@ -48,7 +48,7 @@ void Timepix3EventLoader::initialise(Parameters* par) {
while
(
entry
=
readdir
(
directory
))
{
// If these are folders then the name is the chip ID
if
(
entry
->
d_type
==
DT_DIR
)
{
if
(
entry
->
d_type
==
DT_DIR
||
(
entry
->
d_type
==
DT_UNKNOWN
&&
std
::
string
(
entry
->
d_name
).
at
(
0
)
==
'W'
)
)
{
LOG
(
DEBUG
)
<<
"Found directory for detector ID "
<<
entry
->
d_name
;
...
...
Write
Preview
Supports
Markdown
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