[Patch, Newlib-nano]Improve printf to support non nul-terminated string

Bin.Cheng amker.cheng@gmail.com
Thu Nov 6 05:06:00 GMT 2014

On Thu, Nov 6, 2014 at 12:10 PM, Joey Ye <joey.ye.cc@gmail.com> wrote:
> Now there is no point to keep #if 0. Please remove it.

Yes, I think both the commentary and #if 0 below are not needed any more.

      /* Below code is kept for reading.  The check is redundant because
     pdata->prec will be set to pdata->size if it is -1 previously.  */
#if 0
      if (pdata->prec > pdata->size)


More information about the Newlib mailing list