Skip to content

Commit b4b1c53

Browse files
committed
up
1 parent b831372 commit b4b1c53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kbe/src/lib/pyscript/pyprofile.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ bool PyProfile::dump(std::string profile, std::string fileName)
198198
return false;
199199
}
200200

201-
FILE* f = fopen(fileName.c_str(), "rw");
201+
FILE* f = fopen(fileName.c_str(), "wb");
202202
if(f == NULL)
203203
{
204204
ERROR_MSG(boost::format("PyProfile::dump: profile(%1%) can't open fileName=%2%!\n") % profile % fileName);

0 commit comments

Comments
 (0)