diff options
author | Karl Berry <karl@freefriends.org> | 2019-12-10 18:39:13 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-12-10 18:39:13 +0000 |
commit | fb79a713b57e5f60ec8b94b5559602fb12368c80 (patch) | |
tree | 5cb515f13dcdf1af615ad11024fd981637161a91 /Build/source/texk/web2c/lib | |
parent | 2bc8de74125743b8e3fb84e02f33c65bf9959e82 (diff) |
compress (with zlib) .fmt files for all but tex and aleph, following xetex; from Hironori KITAGAWA
git-svn-id: svn://tug.org/texlive/trunk@53078 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/lib')
-rw-r--r-- | Build/source/texk/web2c/lib/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/texk/web2c/lib/texmfmp.c | 8 |
2 files changed, 8 insertions, 4 deletions
diff --git a/Build/source/texk/web2c/lib/ChangeLog b/Build/source/texk/web2c/lib/ChangeLog index a73e50181f6..73849c3f4a6 100644 --- a/Build/source/texk/web2c/lib/ChangeLog +++ b/Build/source/texk/web2c/lib/ChangeLog @@ -1,3 +1,7 @@ +2019-12-10 Hironori Kitagawa <h_kitagawa2001@yahoo.co.jp> + + * do_dump [FMT_COMPRESS]: change conditional from XeTeX. + 2019-08-10 Andreas Scherer <https://ascherer.github.io> * lib.h: add missing prototypes from 'openclose.c' and 'texmfmp.c'. diff --git a/Build/source/texk/web2c/lib/texmfmp.c b/Build/source/texk/web2c/lib/texmfmp.c index 6f704ab7ca1..10fd2846cd7 100644 --- a/Build/source/texk/web2c/lib/texmfmp.c +++ b/Build/source/texk/web2c/lib/texmfmp.c @@ -2786,7 +2786,7 @@ swap_items (char *p, int nitems, int size) OUT_FILE. */ void -#ifdef XeTeX +#ifdef FMT_COMPRESS do_dump (char *p, int item_size, int nitems, gzFile out_file) #else do_dump (char *p, int item_size, int nitems, FILE *out_file) @@ -2796,7 +2796,7 @@ do_dump (char *p, int item_size, int nitems, FILE *out_file) swap_items (p, nitems, item_size); #endif -#ifdef XeTeX +#ifdef FMT_COMPRESS if (gzwrite (out_file, p, item_size * nitems) != item_size * nitems) #else if (fwrite (p, item_size, nitems, out_file) != nitems) @@ -2818,13 +2818,13 @@ do_dump (char *p, int item_size, int nitems, FILE *out_file) /* Here is the dual of the writing routine. */ void -#ifdef XeTeX +#ifdef FMT_COMPRESS do_undump (char *p, int item_size, int nitems, gzFile in_file) #else do_undump (char *p, int item_size, int nitems, FILE *in_file) #endif { -#ifdef XeTeX +#ifdef FMT_COMPRESS if (gzread (in_file, p, item_size * nitems) != item_size * nitems) #else if (fread (p, item_size, nitems, in_file) != (size_t) nitems) |