wrong writing with mput
Reported by bernard.henry
BUG DESCRIPTION:
----------------
a particular value cause mput to write an additional byte.
ERROR LOG:
----------
No error log, but opening the resulting file (in hexa):
0D 0A D7 A3 3B instead of
0A D7 A3 3B
HOW TO REPRODUCE THE BUG:
-------------------------
run this script :
fbin = mopen('toto.bin','w');
mput(int32(1000593162),'il',fbin);
mclose(fbin);
and check the content of toto.bin
OTHER INFORMATION:
------------------
Bug appear with 1000593162
not with 1000593163 nor 1000593161