Re: Built-in printf Sits Awkwardly with UDP.

2011-07-24 Thread Chet Ramey
On 7/22/11 10:38 AM, Ralph Corderoy wrote: >> OK, well for %b and %q bash's built-in printf calls it's own >> printstr() and that does do things like `fw = -fw' without checking if >> fw was already the largest negative. > > On a related note, I can't interrupt this, e.g. Ctrl-C. > > printf '

Re: bug#9129: Built-in printf Sits Awkwardly with UDP.

2011-07-24 Thread Chet Ramey
On 7/22/11 12:32 PM, Ralph Corderoy wrote: > Hi Jim, > >>> On 07/20/2011 07:34 AM, Ralph Corderoy wrote: BTW, the code for the built-in printf has a bug. For negative field-widths it negates a negative integer without checking it will fit. E.g. on this 64-bit machine