diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-02-03 10:39:06 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-02-03 10:39:06 +0000 |
commit | 5167c138dddec7ef4eb62ec2b81e4511ea7d6e39 (patch) | |
tree | 692a129b150dbacbf04630f5e434cb76c5a7bf51 /Build/source/texk/web2c/synctexdir | |
parent | da0f83a5fc46670af0ae8defce9f3807a84c673c (diff) |
synctex: Adapt to zlib-1.2.6
git-svn-id: svn://tug.org/texlive/trunk@25281 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/synctexdir')
-rw-r--r-- | Build/source/texk/web2c/synctexdir/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/texk/web2c/synctexdir/synctex_parser.c | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/Build/source/texk/web2c/synctexdir/ChangeLog b/Build/source/texk/web2c/synctexdir/ChangeLog index a0c84c3f98a..06f2156240a 100644 --- a/Build/source/texk/web2c/synctexdir/ChangeLog +++ b/Build/source/texk/web2c/synctexdir/ChangeLog @@ -1,3 +1,8 @@ +2012-02-03 Peter Breitenlohner <peb@mppmu.mpg.de> + + * synctex_parser.c: Change struct __synctex_updater_t member + file from 'void *' to 'gzFile', they differ for zlib-1.2.6. + 2011-10-18 Akira Kakuto <kakuto@fuk.kindai.ac.jp> * synctex_parser.c: remove "# warning ..." lines, because MSVC fails to diff --git a/Build/source/texk/web2c/synctexdir/synctex_parser.c b/Build/source/texk/web2c/synctexdir/synctex_parser.c index 508db2e3cf7..02dfb11c5ac 100644 --- a/Build/source/texk/web2c/synctexdir/synctex_parser.c +++ b/Build/source/texk/web2c/synctexdir/synctex_parser.c @@ -4328,9 +4328,9 @@ typedef int (*synctex_fprintf_t)(void *, const char * , ...); /* print formatte # define SYNCTEX_BITS_PER_BYTE 8 struct __synctex_updater_t { - void *file; /* the foo.synctex or foo.synctex.gz I/O identifier */ - synctex_fprintf_t fprintf; /* either fprintf or gzprintf */ - int length; /* the number of chars appended */ + gzFile file; /* the foo.synctex or foo.synctex.gz I/O identifier */ + synctex_fprintf_t fprintf; /* either fprintf or gzprintf */ + int length; /* the number of chars appended */ struct _flags { unsigned int no_gz:1; /* Whether zlib is used or not */ unsigned int reserved:SYNCTEX_BITS_PER_BYTE*sizeof(int)-1; /* Align */ |