Handle char incomplete_array[] cases.
replace ~str with StrBuf