diff options
author | Taco Hoekwater <taco@elvenkind.com> | 2010-04-13 10:01:03 +0000 |
---|---|---|
committer | Taco Hoekwater <taco@elvenkind.com> | 2010-04-13 10:01:03 +0000 |
commit | 27cb85d417e47314739f93914e08da7ff8608bed (patch) | |
tree | ca94d101f3dc61de75b746901733862c33c197bc /Build/source/texk/web2c/luatexdir/tex/texfileio.w | |
parent | 677b8b6ff1ec8b35713c4764d191a814fbb8aeb2 (diff) |
new luatex and mplib from the luatex repository
git-svn-id: svn://tug.org/texlive/trunk@17836 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/tex/texfileio.w')
-rw-r--r-- | Build/source/texk/web2c/luatexdir/tex/texfileio.w | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/luatexdir/tex/texfileio.w b/Build/source/texk/web2c/luatexdir/tex/texfileio.w index c577dbad17a..f19f7873339 100644 --- a/Build/source/texk/web2c/luatexdir/tex/texfileio.w +++ b/Build/source/texk/web2c/luatexdir/tex/texfileio.w @@ -23,8 +23,8 @@ #include <kpathsea/absolute.h> static const char _svn_version[] = - "$Id: texfileio.w 3587 2010-04-03 14:32:25Z taco $" - "$URL: http://foundry.supelec.fr/svn/luatex/tags/beta-0.60.0/source/texk/web2c/luatexdir/tex/texfileio.w $"; + "$Id: texfileio.w 3612 2010-04-13 09:29:42Z taco $" + "$URL: http://foundry.supelec.fr/svn/luatex/branches/0.60.x/source/texk/web2c/luatexdir/tex/texfileio.w $"; @ @c #define end_line_char int_par(end_line_char_code) @@ -920,6 +920,9 @@ void do_zdump(char *p, int item_size, int nitems, FILE * out_file) (void) out_file; if (nitems == 0) return; +#if !defined (WORDS_BIGENDIAN) && !defined (NO_DUMP_SHARE) + swap_items(p, nitems, item_size); +#endif if (gzwrite(gz_fmtfile, (void *) p, (unsigned) (item_size * nitems)) != item_size * nitems) { fprintf(stderr, "! Could not write %d %d-byte item(s): %s.\n", nitems, @@ -940,6 +943,9 @@ void do_zundump(char *p, int item_size, int nitems, FILE * in_file) nitems, item_size, gzerror(gz_fmtfile, &err)); uexit(1); } +#if !defined (WORDS_BIGENDIAN) && !defined (NO_DUMP_SHARE) + swap_items(p, nitems, item_size); +#endif } @ @c |