summaryrefslogtreecommitdiff
path: root/Build/source/libs
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2015-03-28 00:12:48 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2015-03-28 00:12:48 +0000
commit28aff1e0215254537e412e6f8dea0b8cb7a9c04b (patch)
treeb79a9ac111da4a04c1c974c48a465e637f725275 /Build/source/libs
parent2ba4346999fcbdfb469a19949498dae05c6444d3 (diff)
libs/zziplib: Sync with luatex trunk
git-svn-id: svn://tug.org/texlive/trunk@36651 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs')
-rw-r--r--Build/source/libs/zziplib/zziplib-0.13.62-PATCHES/ChangeLog4
-rw-r--r--Build/source/libs/zziplib/zziplib-0.13.62-PATCHES/patch-04-refcount21
-rw-r--r--Build/source/libs/zziplib/zziplib-0.13.62/zzip/zip.c11
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).