diff options
Diffstat (limited to 'Build/source/libs/zziplib/zziplib-0.13.62-PATCHES/patch-04-refcount')
-rw-r--r-- | Build/source/libs/zziplib/zziplib-0.13.62-PATCHES/patch-04-refcount | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Build/source/libs/zziplib/zziplib-0.13.62-PATCHES/patch-04-refcount b/Build/source/libs/zziplib/zziplib-0.13.62-PATCHES/patch-04-refcount new file mode 100644 index 00000000000..732c27e07c0 --- /dev/null +++ b/Build/source/libs/zziplib/zziplib-0.13.62-PATCHES/patch-04-refcount @@ -0,0 +1,21 @@ +diff -ur zziplib-0.13.62.orig/zzip/zip.c zziplib-0.13.62/zzip/zip.c +--- zziplib-0.13.62.orig/zzip/zip.c 2015-03-27 21:16:01.101333013 +0100 ++++ zziplib-0.13.62/zzip/zip.c 2015-03-27 21:19:06.037340680 +0100 +@@ -628,6 +628,17 @@ + return zzip_dir_alloc_ext_io(fileext, 0); + } + ++ ++ ++/** ++ * returns the refcount ++ */ ++int ++zzip_dir_refcount(ZZIP_DIR * dir) ++{ ++ return dir->refcount; ++} ++ + /** + * will free the zzip_dir handle unless there are still + * zzip_files attached (that may use its cache buffer). |