diff options
Diffstat (limited to 'Build/source')
3 files changed, 36 insertions, 0 deletions
diff --git a/Build/source/libs/zziplib/zziplib-0.13.62-PATCHES/ChangeLog b/Build/source/libs/zziplib/zziplib-0.13.62-PATCHES/ChangeLog index 934f50c32e6..3a5008b500c 100644 --- a/Build/source/libs/zziplib/zziplib-0.13.62-PATCHES/ChangeLog +++ b/Build/source/libs/zziplib/zziplib-0.13.62-PATCHES/ChangeLog @@ -1,3 +1,7 @@ +2015-03-27 Luigi Scarso <luigi.scarso@gmail.com> + + * patch-04-refcount: Add zzip_dir_refcount + 2014-07-15 Peter Breitenlohner <peb@mppmu.mpg.de> * patch-03-w64-ptr: Avoid WIN64 warning due to different size. 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). diff --git a/Build/source/libs/zziplib/zziplib-0.13.62/zzip/zip.c b/Build/source/libs/zziplib/zziplib-0.13.62/zzip/zip.c index a4b06b47189..dac9aba4f90 100644 --- a/Build/source/libs/zziplib/zziplib-0.13.62/zzip/zip.c +++ b/Build/source/libs/zziplib/zziplib-0.13.62/zzip/zip.c @@ -628,6 +628,17 @@ zzip_dir_alloc(zzip_strings_t * fileext) 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). |