mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-05-02 13:42:29 +02:00
Minor bugfixes for windows.
This commit is contained in:
parent
c9080f9f72
commit
73725774dc
2 changed files with 5 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue