Fix inability to find plain.mem when filename is passed on the command line
authoroblomov <oblomov@b0617d17-b707-0410-b22c-fd2634e05cc4>
Sat, 16 Feb 2008 12:51:39 +0000 (12:51 +0000)
committeroblomov <oblomov@b0617d17-b707-0410-b22c-fd2634e05cc4>
Sat, 16 Feb 2008 12:51:39 +0000 (12:51 +0000)
commite1f474af6489a78c90d495de557dc5574ba22a8e
tree566cffe4a778374f5ea20f9fffd05c0445ec1a8c
parent5ec654c2d052c56565ba71df78208318b27713b0
Fix inability to find plain.mem when filename is passed on the command line

An off-by-one error in mp_pack_buffered_name() usage caused a command such as
'./newmpost test.mp' to try to dump 'plaint.mem' instead of 'plain.mem' because
the first character of the filename passed on the command line was appended to
the format file name.

Fix by using a more C-style call convention for mp_pack_buffered_name().

git-svn-id: svn+ssh://scm.foundry.supelec.fr/svn/metapost/mplib/trunk@301 b0617d17-b707-0410-b22c-fd2634e05cc4
src/texk/web2c/mpdir/lib/mp.w