#264 rc4: duplicate command has hard coded limit 32767

Next Release
pending-fixed
Mark Hessling
None
5
2013-07-06
2013-07-06
George R. Goffe
No

The duplicate command appears to have a hard coded limit of 32767. Trying to duplicate more lines appears to do nothing AND does not complain about the maximum number of lines exceeded AND does not set a rc indicating failure.

Are there other commands with limits like this and similar lack of messages?

Discussion

  • Mark Hessling
    Mark Hessling
    2013-07-06

    • status: open --> pending-fixed
    • assigned_to: Mark Hessling
    • Group: --> Next Release
     
  • Mark Hessling
    Mark Hessling
    2013-07-06

    Prefix duplicate also has a similar problem, but it could cause a crash if more than 32767 was passed as argument. Now fixed. Maximum number of duplicated occurrences now 2147483647 and an error will be shown if that number exceeded.

     
  • Mark,

    You are the man.

    How is the new release coming? When can we get source?