repo.or.cz
/
bitcoinplatinum.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge #9980: Fix mem access violation merkleblock
[bitcoinplatinum.git]
/
src
/
fs.cpp
blob
a5e12f1cfcb70e0c2fcc628d8f53bf6fa3adee1c
1
#include
"fs.h"
2
3
namespace
fsbridge
{
4
5
FILE
*
fopen
(
const
fs
::
path
&
p
,
const char
*
mode
)
6
{
7
return
::
fopen
(
p
.
string
().
c_str
(),
mode
);
8
}
9
10
FILE
*
freopen
(
const
fs
::
path
&
p
,
const char
*
mode
,
FILE
*
stream
)
11
{
12
return
::
freopen
(
p
.
string
().
c_str
(),
mode
,
stream
);
13
}
14
15
}
// fsbridge