Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 03dcb8c6aa472b98d94d5514e15b2a113dd95762
Ticket: 2582327fffffffffffffffffffffffffffffffff
string repeat returns confusing error message
User & Date: lvirden on 2009-02-09 18:31:48
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    $ tclsh8.6
    % string repeat "abc" 1234567890
    max size for a Tcl value (2147483647 bytes) exceeded
    % expr 1234567890 >= 2147483647
    0
    % expr 1234567890 < 2147483647
    1
    % 
    
    string repeat seems to report that the argument exceeds a value which it is, in fact, smaller than.
    
    Perhaps the error message means something else?
    
    
  4. foundin changed to: "obsolete: 8.6b1"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "lvirden"
  10. subsystem changed to: "18. Commands M-Z"
  11. title changed to: "string repeat returns confusing error message"
  12. type changed to: "Bug"