summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/kpathsea/ChangeLog6
-rw-r--r--Build/source/texk/kpathsea/tex-make.c3
2 files changed, 7 insertions, 2 deletions
diff --git a/Build/source/texk/kpathsea/ChangeLog b/Build/source/texk/kpathsea/ChangeLog
index 8a66b069c2d..82e040e3188 100644
--- a/Build/source/texk/kpathsea/ChangeLog
+++ b/Build/source/texk/kpathsea/ChangeLog
@@ -1,3 +1,9 @@
+2006-12-26 Karl Berry <karl@tug.org>
+
+ * tex-make.c: (set_maketex_mag): remove spurious extra argument
+ `r' to sprintf.
+ (maketex): remove unused variable status.
+
2006-12-25 Karl Berry <karl@tug.org>
* mktexlsr: support --verbose.
diff --git a/Build/source/texk/kpathsea/tex-make.c b/Build/source/texk/kpathsea/tex-make.c
index 0c6f980fefc..9a85f8c565f 100644
--- a/Build/source/texk/kpathsea/tex-make.c
+++ b/Build/source/texk/kpathsea/tex-make.c
@@ -72,7 +72,7 @@ set_maketex_mag P1H(void)
sprintf(q, "%u+%u/(%u*%u)", dpi/bdpi, dpi%bdpi, f, bdpi/f);
}
} else {
- sprintf(q, "%u+%u/(4000 + %u)", dpi/bdpi, dpi%bdpi, bdpi, r);
+ sprintf(q, "%u+%u/(4000 + %u)", dpi/bdpi, dpi%bdpi, bdpi);
}
}
} else {
@@ -409,7 +409,6 @@ maketex P2C(kpse_file_format_type, format, string*, args)
/* Parent */
char buf[1024+1];
int num;
- int status;
/* Clean up child file descriptors that we won't use anyway. */
close(childin);