Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 2cd3dd580fbbaaef055b4e3d717ab9c30921f4cd
Ticket: 773280ffffffffffffffffffffffffffffffffff
lindex bug
User & Date: kennykb on 2003-07-18 05:24:36
Changes

  1. closedate changed to: "2003-07-17T22:24:36"
  2. closer changed to: "kennykb"
  3. icomment:
    Logged In: YES 
    user_id=99768
    
    I still say we have a malformed list here.
    
    A list element may be surrounded by double quotes, but
    a list element surrounded by double quotes may not
    have spurious characters after it. A simpler example is:
    
    % lindex {"x"; "y"; "z"} 3
    list element in quotes followed by ";" instead of space
    
    The correct way to deal with this sort of data would be to
    split the process line, replacing the
    
        [lindex $process 3]
    
    in your script with
    
        [lindex [split $process] 3]
    
    
    
    
  4. login: "kennykb"
  5. mimetype: "text/plain"
  6. status changed to: "Closed"
  7. username: "kennykb"