Re: [U-Boot] [PATCH] strings: use puts() rather than printf()

2008-12-06 Thread Wolfgang Denk
Dear Mike Frysinger, In message <[EMAIL PROTECTED]> you wrote: > When running `strings` on really long strings, the stack tends to get > smashed due to printf(). Switch to puts() instead since we're only passing > the data through. > > Signed-off-by: Mike Frysinger <[EMAIL PROTECTED]> > --- > c

Re: [U-Boot] [PATCH] strings: use puts() rather than printf()

2008-11-05 Thread Scott Wood
Mike Frysinger wrote: > When running `strings` on really long strings, the stack tends to get > smashed due to printf(). Switch to puts() instead since we're only passing > the data through. ...which raises the question of why we don't have vsnprintf(). -Scott ___

[U-Boot] [PATCH] strings: use puts() rather than printf()

2008-11-04 Thread Mike Frysinger
When running `strings` on really long strings, the stack tends to get smashed due to printf(). Switch to puts() instead since we're only passing the data through. Signed-off-by: Mike Frysinger <[EMAIL PROTECTED]> --- common/cmd_strings.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(