From b299957147adec67e007039681bb6afc37d1496c Mon Sep 17 00:00:00 2001 From: Luigi Scarso <luigi.scarso@gmail.com> Date: Sun, 31 Jul 2022 14:56:09 +0000 Subject: [PATCH] MetaPost: Working on the file extension (work in progress). [[Split portion of a mixed commit.]] --- source/texk/web2c/luatexdir/luatex_svnversion.h | 2 +- source/texk/web2c/mplibdir/ChangeLog | 3 +++ source/texk/web2c/mplibdir/mp.w | 6 +++--- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/source/texk/web2c/luatexdir/luatex_svnversion.h b/source/texk/web2c/luatexdir/luatex_svnversion.h index 0f1c3154a..685c1af62 100644 --- a/source/texk/web2c/luatexdir/luatex_svnversion.h +++ b/source/texk/web2c/luatexdir/luatex_svnversion.h @@ -1,4 +1,4 @@ #ifndef luatex_svn_revision_h #define luatex_svn_revision_h -#define luatex_svn_revision 7532 +#define luatex_svn_revision 7534 #endif diff --git a/source/texk/web2c/mplibdir/ChangeLog b/source/texk/web2c/mplibdir/ChangeLog index f45e58b18..55ab2c857 100644 --- a/source/texk/web2c/mplibdir/ChangeLog +++ b/source/texk/web2c/mplibdir/ChangeLog @@ -1,3 +1,6 @@ +2022-07-31 Luigi Scarso <luigi.scarso@gmail.com> + * MetaPost: Working on the file extension (work in progress). + 2022-05-28 Akira Kakuto <kakuto@jcom.zaq.ne.jp> * mp.w: Typo. diff --git a/source/texk/web2c/mplibdir/mp.w b/source/texk/web2c/mplibdir/mp.w index f6d8b8415..96d7390dc 100644 --- a/source/texk/web2c/mplibdir/mp.w +++ b/source/texk/web2c/mplibdir/mp.w @@ -34815,9 +34815,9 @@ extreme cases so it may have to be shortened on some systems. @<Use |c| to compute the file extension |s|@>= { - s = xmalloc (12, 1); - mp_snprintf (s, 12, ".%i", (int) c); - s[7]='\0'; + s = xmalloc (13, 1); + mp_snprintf (s, 13, ".%i", (int) c); + s[13]='\0'; } -- GitLab