Commit ddf3d46b authored by John P. Willis's avatar John P. Willis
Browse files

Fix data corruption in $ZHOROLOG

parent 01cee0d1
Pipeline #695 passed with stage
in 1 minute and 24 seconds
......@@ -723,3 +723,8 @@ VERSION 0.47.0
VERSION 0.47.1
Fix broken build
********************************************************************************
VERSION 0.47.2
Fix data corruption in $ZHOROLOG
......@@ -37,7 +37,7 @@
#
#
AC_INIT([freem],[0.47.1],[jpw@coherent-logic.com])
AC_INIT([freem],[0.47.2],[jpw@coherent-logic.com])
AC_CONFIG_HEADERS([src/config.h])
AC_CONFIG_MACRO_DIRS([m4])
......
......@@ -4,7 +4,7 @@
@settitle The FreeM Manual
@copying
This manual is for FreeM, (version 0.47.1), which is a free and open-source implementation of the M programming language and database system.
This manual is for FreeM, (version 0.47.2), which is a free and open-source implementation of the M programming language and database system.
Copyright @copyright{} 2014-2021 Coherent Logic Development LLC
......@@ -18,7 +18,7 @@ Permission is granted to copy, distribute and/or modify this document under the
@title The FreeM Manual
@subtitle @sc{The Official Manual of FreeM}
@subtitle Version 0.47.1
@subtitle Version 0.47.2
@c@vskip 10pt
@c@center @image{freem-logo-sm,,,,.png}
@author John P. Willis
......@@ -280,7 +280,7 @@ $ chmod +x @emph{myscript.m}
The FreeM direct-mode environment is the mode entered when FreeM is invoked without the use of @option{-r @emph{<entryref>}} or @option{--routine=@emph{<entryref>}}:
@example
Coherent Logic Development FreeM version 0.47.1 (x86_64-pc-linux-gnu)
Coherent Logic Development FreeM version 0.47.2 (x86_64-pc-linux-gnu)
Copyright (C) 2014, 2020, 2021 Coherent Logic Development LLC
......@@ -1696,7 +1696,7 @@ In the above @emph{inclusive} form, @code{KVALUE} will kill the data values at e
@cartouche
@quotation
@emph{Note}
The below @emph{argumentless} and @emph{exclusive} forms of @code{KVALUE} are not implemented in FreeM, as of version 0.47.1, but are planned for a future release.
The below @emph{argumentless} and @emph{exclusive} forms of @code{KVALUE} are not implemented in FreeM, as of version 0.47.2, but are planned for a future release.
@end quotation
@end cartouche
......
......@@ -5741,23 +5741,10 @@ errexfun:
if ((ilong = timebuffer.millitm))
#endif
{
char doggie_bag[50];
i = stlen (a);
a[i++] = '.';
a[i++] = ilong / 100 + '0';
if (ilong % 100) {
a[i++] = ilong % 100 / 10 + '0';
if (ilong % 10) {
a[i++] = ilong % 10 + '0';
}
}
a[i] = EOL;
snprintf (doggie_bag, 49, ".%ld\201", ilong);
stcat (a, doggie_bag);
}
}
goto exec;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment