Skip to content
Tcl Source Code History Of Ticket 940843ffffffffffffffffffffffffffffffffff
Login

History Of Ticket 940843ffffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 940843ffffffffffffffffffffffffffffffffff

  1. Ticket change [cde88ea4ce] (rid 95968) by dgp on 2004-04-23 16:17:07:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      
      It appears this causes a crash:
      
      int done = 0;
      Tcl_DictSearch search;
      Tcl_Obj *keyPtr;
      Tcl_Obj *dictPtr;
      
      dictPtr = Tcl_NewObj();
      Tcl_DictObjFirst(NULL, dictPtr, &search, &keyPtr, NULL,
      &done);
      Tcl_DictObjDone(&search);    /* CRASH! */
      
      Perhaps this is pilot error, and the caller
      must coded like so:
      
      if (!done) {
          Tcl_DictObjDone(&search);
      }
      
      but if so, maybe a friendlier interface is worth
      considering (or sterner warnings in the docs).
      
    4. foundin initialized to: "obsolete: 8.5a2"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "dgp"
    9. subsystem initialized to: "15. Dict Object"
    10. title initialized to: "crash scanning dict with zero entries"
    11. type initialized to: "Bug"
  2. Ticket change [632df433c8] (rid 92533) by dkf on 2004-04-26 16:47:28:

    1. closedate changed to: "2004-04-26T09:47:28"
    2. closer changed to: "dkf"
    3. icomment:
      Logged In: YES 
      user_id=79902
      
      This is indeed pilot error.  I've strengthened the wording
      in the documentation and added an example as well.
      
      
    4. login: "dkf"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "dkf"