소스 검색

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

Ryan C. Gordon 24 년 전
부모
커밋
a2c89d7ad2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      platform/unix.c

+ 1 - 1
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 */