mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 14:16:16 -04:00
Fixed problem with utf characters in the %APPDATA% path on Windows.
Added function for opening files on Windows and Linux - RsDirUtil::rs_fopen. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4124 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
bc78397a64
commit
bc113326e4
17 changed files with 109 additions and 119 deletions
|
@ -2506,7 +2506,7 @@ uint32 TcpStream::int_rbytes()
|
|||
static FILE *bc_fd = 0;
|
||||
int setupBinaryCheck(std::string fname)
|
||||
{
|
||||
bc_fd = fopen(fname.c_str(), "r");
|
||||
bc_fd = RsDirUtil::rs_fopen(fname.c_str(), "r");
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue