Skip to content
Commit e835f0b4 authored by Aleksy Barcz's avatar Aleksy Barcz
Browse files

better searching for SZARP configurations

+ stem() would transform /opt/szarp/szarp/foo.bar to foo, which would lead to a segfault e.g. in ekstraktor3 if we had both foo and foo.bak directories (configuration foo would be read twice, leading to some memory issues)
+ filename() is the way to go with boost::filesystem::path, it returns the last component of a path (stem() is based on filename() btw)
parent ddc92d09
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment