Skip to content
This repository has been archived by the owner on Mar 6, 2023. It is now read-only.

Commit

Permalink
metapost: fixed typo in mpost.w
Browse files Browse the repository at this point in the history
git-svn-id: https://serveur-svn.lri.fr/svn/modhel/luatex/trunk@7070 0b2b3880-5936-4365-a048-eb17d2e5a6bf
  • Loading branch information
luigiScarso committed Jan 27, 2019
1 parent 40563dd commit acb41d0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion source/texk/web2c/luatexdir/luatex_svnversion.h
Original file line number Diff line number Diff line change
@@ -1 +1 @@
#define luatex_svn_revision 7064
#define luatex_svn_revision 7070
4 changes: 2 additions & 2 deletions source/texk/web2c/mplibdir/mpost.w
Original file line number Diff line number Diff line change
Expand Up @@ -1102,7 +1102,7 @@ stored in the \MP\ instance, this will be taken as the first line of
input.

@d command_line_size 256
@d max_commad_line_size 0xFFFFFFF /* should be the same of |max_halfword| (see |mp_reallocate_buffer|) */
@d max_command_line_size 0xFFFFFFF /* should be the same of |max_halfword| (see |mp_reallocate_buffer|) */

@<Copy the rest of the command line@>=
{
Expand All @@ -1116,7 +1116,7 @@ input.
buflen +=(strlen(argv[optind_aux])+1); /* reserve space for ' ' as separator */
}
/* Last char is ' ', no need to reserve space for final '\0' */
if (buflen > max_commad_line_size) {
if (buflen > max_command_line_size) {
fprintf(stderr,"length of command line too long!\n");
exit(EXIT_FAILURE);
}
Expand Down

0 comments on commit acb41d0

Please sign in to comment.