diff options
Diffstat (limited to 'Build')
-rw-r--r-- | Build/source/texk/web2c/mplibdir/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/texk/web2c/mplibdir/mpost.w | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/mplibdir/ChangeLog b/Build/source/texk/web2c/mplibdir/ChangeLog index c77276d2c58..63af429bf09 100644 --- a/Build/source/texk/web2c/mplibdir/ChangeLog +++ b/Build/source/texk/web2c/mplibdir/ChangeLog @@ -1,3 +1,8 @@ +2013-03-26 Peter Breitenlohner <peb@mppmu.mpg.de> + + * mpost.w: First arg of kpse_set_program_name() must be argv[0], + otherwise the assertion in kpathsea/progname.c:316 may fail. + 2013-03-25 Peter Breitenlohner <peb@mppmu.mpg.de> Update MetaPost 1.800 from LuaTeX repository (r4612). diff --git a/Build/source/texk/web2c/mplibdir/mpost.w b/Build/source/texk/web2c/mplibdir/mpost.w index 63df81469a7..a5bc82a8fc5 100644 --- a/Build/source/texk/web2c/mplibdir/mpost.w +++ b/Build/source/texk/web2c/mplibdir/mpost.w @@ -1329,7 +1329,8 @@ main (int argc, char **argv) @<Show short help and exit@>; } else { if (!nokpse) - kpse_set_program_name("dvitomp", user_progname); + kpse_set_program_name(argv[0], + user_progname ? user_progname : "dvitomp"); exit (mpost_run_dvitomp(dvi, mpx)); } } |