diff options
author | Karl Berry <karl@freefriends.org> | 2009-11-30 23:22:45 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-11-30 23:22:45 +0000 |
commit | ce2e88e887ec0346123a83fff7c4ae2f2d32940f (patch) | |
tree | b7d3ae7e7bed49d0b29b44641c6a6a74379ff3b3 /Build/source/texk/web2c/lib | |
parent | fa182c5f72009db598962d13ffab23797626c555 (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/texk/web2c/lib')
-rw-r--r-- | Build/source/texk/web2c/lib/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/texk/web2c/lib/texmfmp.c | 1 | ||||
-rw-r--r-- | Build/source/texk/web2c/lib/usage.c | 2 |
3 files changed, 7 insertions, 1 deletions
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). |