--- freem/src/xecline.c 2025/03/22 21:44:32 1.6 +++ freem/src/xecline.c 2025/03/22 22:52:24 1.7 @@ -1,5 +1,5 @@ /* - * $Id: xecline.c,v 1.6 2025/03/22 21:44:32 snw Exp $ + * $Id: xecline.c,v 1.7 2025/03/22 22:52:24 snw Exp $ * freem interpreter proper * * @@ -24,6 +24,9 @@ * along with FreeM. If not, see . * * $Log: xecline.c,v $ + * Revision 1.7 2025/03/22 22:52:24 snw + * Add STRLEN_GBL macro to manage global string length + * * Revision 1.6 2025/03/22 21:44:32 snw * Make the startup messages fewer and add environment name to direct-mode prompt * @@ -1074,8 +1077,8 @@ set: goto err; } - expr (STRING); - + expr (STRING); + if (merr () > OK) goto err; stcpy (tmp2, argptr);