summaryrefslogtreecommitdiff
path: root/Build/source
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-11-30 23:22:45 +0000
committerKarl Berry <karl@freefriends.org>2009-11-30 23:22:45 +0000
commitce2e88e887ec0346123a83fff7c4ae2f2d32940f (patch)
treeb7d3ae7e7bed49d0b29b44641c6a6a74379ff3b3 /Build/source
parentfa182c5f72009db598962d13ffab23797626c555 (diff)
initialize first-line parsing list, doc fixes; from Alexander Cherepanov, tex-k mail 22 Nov 2009 17:39:13
git-svn-id: svn://tug.org/texlive/trunk@16253 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rw-r--r--Build/source/texk/kpathsea/BUGS2
-rw-r--r--Build/source/texk/kpathsea/ChangeLog5
-rw-r--r--Build/source/texk/kpathsea/doc/bugs.texi2
-rw-r--r--Build/source/texk/web2c/lib/ChangeLog5
-rw-r--r--Build/source/texk/web2c/lib/texmfmp.c1
-rw-r--r--Build/source/texk/web2c/lib/usage.c2
6 files changed, 14 insertions, 3 deletions
diff --git a/Build/source/texk/kpathsea/BUGS b/Build/source/texk/kpathsea/BUGS
index 42e61e01865..a3268c95ecb 100644
--- a/Build/source/texk/kpathsea/BUGS
+++ b/Build/source/texk/kpathsea/BUGS
@@ -441,7 +441,7 @@ Pascal arrays have a lower index other than 0, and the C code will take
the pointer to the allocated memory, subtract the lower index, and use
the resulting pointer for the array. While this trick often works, ANSI
C doesn't guarantee that it will. It it known to fail on HP-UX 10
-mchines when the native compiler is used, unless the `+u' compiler
+machines when the native compiler is used, unless the `+u' compiler
switch was specified. Using GCC will work on this platform as well.
0.1.5.5 Empty Makefiles
diff --git a/Build/source/texk/kpathsea/ChangeLog b/Build/source/texk/kpathsea/ChangeLog
index a2291935790..260c4e95f9d 100644
--- a/Build/source/texk/kpathsea/ChangeLog
+++ b/Build/source/texk/kpathsea/ChangeLog
@@ -1,3 +1,8 @@
+2009-12-01 Alexander Cherepanov <cherepan@mccme.ru>
+
+ * BUGS,
+ * doc/bugs.texi: typo fix.
+
2009-11-18 Peter Breitenlohner <peb@mppmu.mpg.de>
* tex-file.c (target_fontmaps, target_asis_name,
diff --git a/Build/source/texk/kpathsea/doc/bugs.texi b/Build/source/texk/kpathsea/doc/bugs.texi
index c02e2d3ae5a..edbbb4285f1 100644
--- a/Build/source/texk/kpathsea/doc/bugs.texi
+++ b/Build/source/texk/kpathsea/doc/bugs.texi
@@ -594,7 +594,7 @@ Pascal arrays have a lower index other than 0, and the C code will take
the pointer to the allocated memory, subtract the lower index, and use
the resulting pointer for the array. While this trick often works, ANSI
C doesn't guarantee that it will. It it known to fail on HP-UX 10
-mchines when the native compiler is used, unless the @samp{+u} compiler
+machines when the native compiler is used, unless the @samp{+u} compiler
switch was specified. Using GCC will work on this platform as well.
@node Empty Makefiles
diff --git a/Build/source/texk/web2c/lib/ChangeLog b/Build/source/texk/web2c/lib/ChangeLog
index 86b52f64282..17927496325 100644
--- a/Build/source/texk/web2c/lib/ChangeLog
+++ b/Build/source/texk/web2c/lib/ChangeLog
@@ -1,3 +1,8 @@
+2009-12-01 Alexander Cherepanov <cherepan@mccme.ru>
+
+ * texmfmp.c (parse_first_line): initialize s to NULL.
+ * usage.c: doc fix.
+
2009-11-12 Peter Breitenlohner <peb@mppmu.mpg.de>
* texmfmp.c (shell_cmd_is_allowed): Check for invalid single
diff --git a/Build/source/texk/web2c/lib/texmfmp.c b/Build/source/texk/web2c/lib/texmfmp.c
index 22d12235fe6..8a9470ea1ff 100644
--- a/Build/source/texk/web2c/lib/texmfmp.c
+++ b/Build/source/texk/web2c/lib/texmfmp.c
@@ -1642,6 +1642,7 @@ parse_first_line (const_string filename)
/* The tcx stuff, if any. Should we support the -translate-file
form as well as --translate-file? */
if (*parse) {
+ s = NULL;
if (translate_filename) {
/* TCX file already set, do nothing. */
} else if (STREQ (*parse, "--translate-file")) {
diff --git a/Build/source/texk/web2c/lib/usage.c b/Build/source/texk/web2c/lib/usage.c
index 8e1d416e71f..ae35356a702 100644
--- a/Build/source/texk/web2c/lib/usage.c
+++ b/Build/source/texk/web2c/lib/usage.c
@@ -16,7 +16,7 @@ usage (const_string str)
}
/* Call usage if the program exits by printing the help message.
- MESSAGE is an NULL-terminated array or strings which make up the
+ MESSAGE is a NULL-terminated array of strings which make up the
help message. Each string is printed on a separate line.
We use arrays instead of a single string to work around compiler
limitations (sigh).