Remove static buffers from StringHelpers to prevent overwriting strings from another thread.
This commit is contained in:
parent
3f7745b262
commit
5d459c0ff9
15 changed files with 68 additions and 55 deletions
|
|
@ -31,7 +31,7 @@ FileOutputStream::FileOutputStream(const File &file) : m_fileHandle( INVALID_HAN
|
|||
);
|
||||
#else
|
||||
m_fileHandle = CreateFile(
|
||||
wstringtofilename(file.getPath()) , // file name
|
||||
wstringtofilename(file.getPath()).c_str(), // file name
|
||||
GENERIC_WRITE, // access mode
|
||||
0, // share mode // TODO 4J Stu - Will we need to share file? Probably not but...
|
||||
nullptr, // Unused
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue