fix windows env param read terminates commanduuu_1.4.43
commita9c099a8b4205a9c0af4b620478d393709d3575c
authorDenis Osterland <Denis.Osterland@diehl.com>
Mon, 10 Aug 2020 10:51:40 +0000 (10 12:51 +0200)
committernxpfrankli <frank.li@nxp.com>
Mon, 10 Aug 2020 14:05:21 +0000 (10 09:05 -0500)
tree630b74b37249a5145166e42e3040db050bbfe94f
parent02832c484e6bf1b383ecc94e7df2e63094089a4d
fix windows env param read terminates command

C++ string has the final '\0' of a C string implicit.
This patch fixes the size of created string, so that the string
will contain only one '\0', instead of two.

Signed-off-by: Denis Osterland-Heim <Denis.Osterland@diehl.com>
libuuu/cmd.cpp