Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 82856583c3e9da01d655d93a8d31377b813affcc
Ticket: 218659ffffffffffffffffffffffffffffffffff
Meaningless error-message in genStubs.tcl
User & Date: nobody on 2000-10-26 01:03:48
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 1629 Bug
    Version: 8.1b2
    SubmitDate: '1999-03-25'
    LastModified: '1999-04-05'
    Severity: LOW
    Status: Released
    Submitter: pat
    ChangedBy: redman
    OS: Windows 95
    Machine: X86
    FixedDate: '1999-04-05'
    ClosedDate: '2000-10-25'
    
    
    Name:
    
    Jan Nijtmans
    
    
    
    CVS:
    
    24 March 1998
    
    
    
    ReproducibleScript:
    
        execute tools/genStubs.tcl without arguments,
    
        
    
        
    
    
    
    
    
    
    
    ObservedBehavior:
    
        I get the following error-message:
    
        
    
        can't read "argv0": no such variable
    
            while executing
    
        "puts stderr "usage: $argv0 outDir declFile ?declFile...?""
    
            (procedure "genStubs::init" line 7)
    
            invoked from within
    
        "genStubs::init"
    
            (file "../tools/genStubs.tcl" line 888)
    
        
    
    
    
    
    
    
    
    DesiredBehavior:
    
        print usage information
    
        
    
    
    
    
    
    
    
    Patch:
    
    *** tools/genStubs.tcl.origThu Mar 25 19:18:16 1999
    
    --- tools/genStubs.tclThu Mar 25 20:06:18 1999
    
    ***************
    
    *** 832,838 ****
    
      #None.
    
      
    
      proc genStubs::init {} {
    
    !     global argv
    
          variable outDir
    
          variable interfaces
    
      
    
    --- 832,838 ----
    
      #None.
    
      
    
      proc genStubs::init {} {
    
    !     global argv argv0
    
          variable outDir
    
          variable interfaces
    
      
    
    
    
    
    
    
    
    
    
    PatchFiles:
    
        genStubs.tcl
    
        
    
    
    
    
    
    
    
    
    
        The error and the fix are too trivial to give further
        comments on it. It's too small to post it to comp.lang.tcl,
        even too small to give it a bugId and put it into the bug
        database. I'll notice it when it is solved.
        
    04/05/1999 18:08 - redman - Already applied.
    
  4. foundin changed to: "obsolete: 8.1b2"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "69. Other"
  10. title changed to: "Meaningless error-message in genStubs.tcl"
  11. type changed to: "Bug"