Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 28c9a147e5c88b8370b8ec16d26d2dae7b5e717c
Ticket: 596027ffffffffffffffffffffffffffffffffff
apparently incorrect error msg in tcltes
User & Date: lvirden on 2002-08-16 13:20:04
Changes

  1. assignee changed to: "dgp"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    around line 270 of tclUnixTest.c I see the following:
    
    } else if (strcmp(argv[1], "fill") == 0) {
            if (argc != 3) {
                Tcl_AppendResult(interp, "wrong #
    arguments: should be \"",
                        argv[0], " empty index\"", (char *)
    NULL);
                return TCL_ERROR;
            }
    The code surrounding these lines would lead me to
    believe that the msg should say "fill index" rather
    than empty index.
    
    The same thing can be seen here:
    
    } else if (strcmp(argv[1], "fillpartial") == 0) {
            char buf[TCL_INTEGER_SPACE];
                
            if (argc != 3) {
                Tcl_AppendResult(interp, "wrong #
    arguments: should be \"",
                        argv[0], " empty index\"", (char *)
    NULL);
                return TCL_ERROR;
            }
    
    where it would seem that empty should be fillpartial.
    
    
    
  4. foundin changed to: "obsolete: 8.4b2"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "lvirden"
  9. subsystem changed to: "34. tcltest Package"
  10. title changed to: "apparently incorrect error msg in tcltes"
  11. type changed to: "Bug"