mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
Minor bugfixes for windows.
This commit is contained in:
@@ -207,7 +207,8 @@ std::string preprocessContent(const std::string& content, const std::string& pat
|
||||
|
||||
// Read the contents of the included file
|
||||
std::ifstream ifs(
|
||||
boost::filesystem::canonical(directory / std::string(match[1]), e).string()
|
||||
boost::filesystem::canonical(directory / std::string(match[1]), e).string(),
|
||||
std::ios_base::in | std::ios_base::binary
|
||||
);
|
||||
if(e || !ifs)
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user