summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/luatexdir/tex
diff options
context:
space:
mode:
authorTaco Hoekwater <taco@elvenkind.com>2008-04-28 08:45:24 +0000
committerTaco Hoekwater <taco@elvenkind.com>2008-04-28 08:45:24 +0000
commit5b93d006ed6fa1c5990c7079d92d3b7d195068b0 (patch)
treed2ddf0f582719f4e67e618f99a47fa32db728c27 /Build/source/texk/web2c/luatexdir/tex
parent6b4bb4d5747a2819cb015fcfe7e6a7521580adbb (diff)
Aix compilation fixes a from Vladimir Volovich
git-svn-id: svn://tug.org/texlive/trunk@7695 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/tex')
-rw-r--r--Build/source/texk/web2c/luatexdir/tex/postlinebreak.c4
-rw-r--r--Build/source/texk/web2c/luatexdir/tex/texnodes.c3
2 files changed, 4 insertions, 3 deletions
diff --git a/Build/source/texk/web2c/luatexdir/tex/postlinebreak.c b/Build/source/texk/web2c/luatexdir/tex/postlinebreak.c
index 21451602f8b..5a7ea253be8 100644
--- a/Build/source/texk/web2c/luatexdir/tex/postlinebreak.c
+++ b/Build/source/texk/web2c/luatexdir/tex/postlinebreak.c
@@ -192,9 +192,9 @@ void ext_post_line_break(boolean d,
assert(vlink(r) == q);
/* |r| refers to the node after which the dir nodes should be closed */
} else if (type(r) == disc_node) {
- halfword a = alink(r);
+ halfword a = alink(r), v;
assert(a != null);
- halfword v = vlink(r);
+ v = vlink(r);
if (v == null) { /* nested disc, let's unfold */
fprintf(stderr, "Nested disc [%d]<-[%d]->null\n", (int) a,
(int) r);
diff --git a/Build/source/texk/web2c/luatexdir/tex/texnodes.c b/Build/source/texk/web2c/luatexdir/tex/texnodes.c
index bb477e54ffb..2ba5488952f 100644
--- a/Build/source/texk/web2c/luatexdir/tex/texnodes.c
+++ b/Build/source/texk/web2c/luatexdir/tex/texnodes.c
@@ -569,12 +569,13 @@ static void do_free_error(halfword p)
"but could also point to a bug in the executable. It should be safe to continue.",
NULL
};
+ halfword r;
check_node_mem();
if (free_error_seen)
return;
- halfword r = null;
+ r = null;
free_error_seen = 1;
if (type(p) == glyph_node) {
snprintf(errstr, 255,