This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

printf "%c" behavior

I have some 3rd party code that uses xxxprintf to print NULL's(0x00) to a stream:  xxxprintf("%c%c", 0, 0);

This works on other platforms, but doesn't work with cgttools 6.1.19 RTS.  The NULL's are not printed to the stream.

Looking at SHARED/_printfi.c, it appears the bug is in _setfield() which doesn't have the capacity to return a string

with nulls inserted in it - which it should to behave in the standard fashion here.

Regards, Jason