diff options
Diffstat (limited to 'compat.h')
-rw-r--r-- | compat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compat.h b/compat.h index 55dda53..8110e24 100644 --- a/compat.h +++ b/compat.h @@ -84,7 +84,7 @@ funopen( if (!funopen) return NULL; assert(!seekfn); *funopen = (struct _funopen) { (void *)cookie, readfn, writefn, closefn }; - return fopencookie(funopen, "r+", _cookie_fns); + return fopencookie(funopen, "a+", _cookie_fns); } #endif /* __linux__ */ |