AnsweredAssumed Answered

Bug in MQX 3.8 printf ignoring width specifier

Question asked by Roy Cooley on May 29, 2012
Latest reply on May 30, 2012 by Martin Kojtal

The printf implementation in MQX 3.8 appears to be ignoring the width specifier for strings.

 

I expect

 

printf("%3.3", "ABCD")

 

to output:

 

ABC

 

but I actually get:

 

ABCD

 

 

Outcomes