void-packages/srcpkgs/proplib/patches/zlib-1.2.6.patch

12 lines
361 B
Diff
Raw Normal View History

--- src/prop_object.c.orig 2012-02-08 08:09:57.405867494 +0100
+++ src/prop_object.c 2012-02-08 08:11:58.244867208 +0100
@@ -811,7 +811,7 @@ bool
_prop_object_externalize_write_file(const char *fname, const char *xml,
size_t len, bool do_compress)
{
- gzFile *gzf = NULL;
+ gzFile gzf = NULL;
char tname[PATH_MAX], *otname;
int fd;
int save_errno;