merge 8.5
WIP
Working code with no staging buffer use.
tidy things up
The outputStage field is now unused, so never allocate it.
Squashed C99 syntax breaking the native AIX cc.
Eliminate the use of a staging buffer in WriteChars().
Fix [22c10c8e79]: core-8-5: msvc6 build: "Side by Side" error
Fix [22c10c8e79]: core-8-5: msvc6 build: "Side by Side" error
Eliminate the use of a staging buffer in WriteChars().
Fix [4b3b7a3082]: tcl8.5.15/generic/tclExecute.c:7713: array index before sanity check ?
Fix [4b3b7a3082]: tcl8.5.15/generic/tclExecute.c:7713: array index before sanity check ?
merge trunk