Tcl Source Code

Ticket Change Details
Login
Overview

Artifact ID: 0339be31af194e8e7cd7fe8c2edeace9793923a0
Ticket: a06ed2007534afa81a5114aea802efae233dee0e
granularity other than 1 allows interp to exceed limits
User & Date: pooryorick 2013-10-22 18:51:16
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    The example below illustrates the problem.  Once an excess has been detected, the limit should be enforced as if the granularity was 1 until a new limit is set, at which point the original granularity should again become active.
    
    % interp limit a command -granularity 2 -value 2
    % a eval set toe knuckle
    knuckle
    % a eval set toe knuckle
    command count limit exceeded
    % a eval set toe knuckle
    knuckle
    % a eval set toe knuckle
    command count limit exceeded
    
  5. foundin changed to: "8.6.1 trunk"
  6. is_private changed to: "0"
  7. login: "pooryorick"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "bcc8d997a487906d3105590bf5b0eac68173d0ad"
  10. resolution changed to: "None"
  11. severity changed to: "Important"
  12. status changed to: "Open"
  13. submitter changed to: "pooryorick"
  14. subsystem changed to: "- New Builtin Commands"
  15. title changed to:
    granularity other than 1 allows interp to exceed limits
    
  16. type changed to: "Bug"