Skip to content

Commit

Permalink
Fixed OpenAppend to actually open for append. Used "wb+" instead of "…
Browse files Browse the repository at this point in the history
…ab".
  • Loading branch information
icculus committed May 16, 2002
1 parent d440f58 commit a2c89d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/unix.c
Expand Up @@ -581,7 +581,7 @@ void *__PHYSFS_platformOpenWrite(const char *filename)

void *__PHYSFS_platformOpenAppend(const char *filename)
{
return(doOpen(filename, "wb+"));
return(doOpen(filename, "ab"));
} /* __PHYSFS_platformOpenAppend */


Expand Down

0 comments on commit a2c89d7

Please sign in to comment.