From a2c89d7ad2446634e0004cfaa3d9e7a29d752116 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Thu, 16 May 2002 07:08:59 +0000 Subject: [PATCH] Fixed OpenAppend to actually open for append. Used "wb+" instead of "ab". --- platform/unix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/unix.c b/platform/unix.c index 4cf3335..ebed97d 100644 --- a/platform/unix.c +++ b/platform/unix.c @@ -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 */