diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2015-08-01 09:40:22 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2015-08-01 09:40:22 +0000 |
commit | 0fd479f40c7c1e76c7de05bbf63588df3d00b9ff (patch) | |
tree | d661390bf3eb97fbe7d329ea60c1ef184205a5db | |
parent | e2f7a59a6b5451bba11b5d8c9c97922a388def12 (diff) |
texk/dtl: Fixed a minor bug and a typo
git-svn-id: svn://tug.org/texlive/trunk@38017 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Build/source/texk/dtl/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/texk/dtl/dt2dv.c | 2 | ||||
-rw-r--r-- | Build/source/texk/dtl/dv2dt.c | 14 |
3 files changed, 14 insertions, 7 deletions
diff --git a/Build/source/texk/dtl/ChangeLog b/Build/source/texk/dtl/ChangeLog index 8eb3aed1187..4eeab07f33f 100644 --- a/Build/source/texk/dtl/ChangeLog +++ b/Build/source/texk/dtl/ChangeLog @@ -1,3 +1,8 @@ +2015-07-31 Peter Breitenlohner <peb@mppmu.mpg.de> + + * dt2dv.c: Fixed typo in program name ("dv2dt" => "dt2dv"). + * dv2dt.c: Backpointers are always signed. + 2015-07-07 Peter Breitenlohner <peb@mppmu.mpg.de> * Makefile.am: Better dependencies for 'make check'. diff --git a/Build/source/texk/dtl/dt2dv.c b/Build/source/texk/dtl/dt2dv.c index a49effd56ed..6ebd6f5c55f 100644 --- a/Build/source/texk/dtl/dt2dv.c +++ b/Build/source/texk/dtl/dt2dv.c @@ -346,7 +346,7 @@ main int i; #ifdef KPATHSEA - kpse_set_program_name(argv[0], "dv2dt"); + kpse_set_program_name(argv[0], "dt2dv"); progname = kpse_program_name; #else progname = argv[0]; /* name of this program */ diff --git a/Build/source/texk/dtl/dv2dt.c b/Build/source/texk/dtl/dv2dt.c index a89b432b6f1..8b79d5d5b0d 100644 --- a/Build/source/texk/dtl/dv2dt.c +++ b/Build/source/texk/dtl/dv2dt.c @@ -840,14 +840,15 @@ postamble /* read postamble from dvi and write in dtl */ /* return number of bytes */ { - U4 p, num, den, mag, l, u, s, t; + S4 p; + U4 num, den, mag, l, u, s, t; fprintf (dtl, "post"); /* p[4] = pointer to final bop */ fprintf (dtl, " "); - p = runsigned (4, dvi); - fprintf (dtl, UF4, p); + p = rsigned (4, dvi); + fprintf (dtl, SF4, p); /* num[4] = numerator of DVI unit */ fprintf (dtl, " "); @@ -901,7 +902,8 @@ postpost /* read post_post from dvi and write in dtl */ /* return number of bytes */ { - U4 q, id; + S4 q; + U4 id; int b223; /* hope this is 8-bit clean */ int n223; /* number of "223" bytes in final padding */ @@ -909,8 +911,8 @@ postpost /* q[4] = pointer to post command */ fprintf (dtl, " "); - q = runsigned (4, dvi); - fprintf (dtl, UF4, q); + q = rsigned (4, dvi); + fprintf (dtl, SF4, q); /* i[1] = DVI identification byte */ fprintf (dtl, " "); |