Fixed OpenAppend to actually open for append. Used "wb+" instead of "ab".

This commit is contained in:
Ryan C. Gordon 2002-05-16 07:08:59 +00:00
parent d440f5891c
commit a2c89d7ad2
1 changed files with 1 additions and 1 deletions

View File

@ -581,7 +581,7 @@ void *__PHYSFS_platformOpenWrite(const char *filename)
void *__PHYSFS_platformOpenAppend(const char *filename) void *__PHYSFS_platformOpenAppend(const char *filename)
{ {
return(doOpen(filename, "wb+")); return(doOpen(filename, "ab"));
} /* __PHYSFS_platformOpenAppend */ } /* __PHYSFS_platformOpenAppend */