On 02/04/2013 12:52 PM, Pádraig Brady wrote:
> On 02/04/2013 09:22 AM, Marcel Böhme wrote:
>>     The current version of cut (after 6.12.2012) exposes a SEG_FAULT:
>>     $echo 123 | cut --output-del="." -b-1,999999999-

> Nice one!
> The attached should fix it.

Hi Padraig,

thanks.
The fix looks okay, but syntax-check fails:

  src/cut.c:534:      && ((max_range_endpoint < eol_range_start) || 
!is_printable_field (eol_range_start)))
  tests/misc/cut.pl:196:  ['big-unbounded-b2a', '--output-d=:', '-b1,9-', 
{IN=>'123456789'}, {OUT=>"1:9\n"}],
  maint.mk: line(s) with more than 80 characters; reindent

Have a nice day,
Berny




Reply via email to