Skip to content
Tcl Source Code History Of Ticket 217830
Login

History Of Ticket 217830

Artifacts Associated With Ticket 217830

  1. Ticket change [464bc2b20c] (rid 99495) by nobody on 2000-10-26 00:44:34:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 1578 Bug
      Version: 8.1b2
      SubmitDate: '1999-03-22'
      LastModified: '1999-03-24'
      Severity: MED
      Status: Closed
      Submitter: pat
      ChangedBy: admin
      RelatedBugIDs: 1570
      OS: SunOS
      OSVersion: 5.6 (SPARC)
      Machine: Sparc
      FixedDate: '2000-10-25'
      ClosedDate: '1999-03-24'
      
      
      Name:
      Taketo Kabe
      
      ReproducibleScript:
          on UNIX source distribution,
             $ make test
          or
             $ env LD_LIBRARY_PATH=../unix ../unix/tcltest
             % cd ../tests
             % source io.test
          
      
      
      
      ObservedBehavior:
          io-52.8 test fails as
          
          >> ---- Result was:
          >> 0 0
          
      
      
      
      DesiredBehavior:
          >> ---- Result should have been:
          >> 40 40
          
      
      
      
      Patch:
      *** io.test.distSun Mar 14 03:08:21 1999
      --- io.testSun Mar 21 23:44:00 1999
      ***************
      *** 6408,6420 ****
            puts $f1 {
        puts ready
        gets stdin
      ! set f1 [open $thisScript r]
        fconfigure $f1 -translation lf
        puts [read $f1 100]
        close $f1
            }
            close $f1
      !     set f1 [open "|[list $tcltest pipe]" r+]
            fconfigure $f1 -translation lf
            gets $f1
            puts $f1 ready
      --- 6408,6420 ----
            puts $f1 {
        puts ready
        gets stdin
      ! set f1 [open [lindex $argv 0] r]
        fconfigure $f1 -translation lf
        puts [read $f1 100]
        close $f1
            }
            close $f1
      !     set f1 [open "|[list $tcltest pipe $thisScript]" r+]
            fconfigure $f1 -translation lf
            gets $f1
            puts $f1 ready
      
      
      
      
      PatchFiles:
          tests/io.test
          
      
      
      
      
      
          Former versions of io.test used "[info script]" to retrieve the script
          filename
          (mainly for obtaining read-only datafile), but 8.1b2 has optimized these
          to "$thisScript".
          No problem but for one place which is used in pipe-invoked interpreter.
          As the external interp can't resolve the filename, it just reads nothing
          and returns zero bytes.
          My patch passes $thisScript explicitly as an argument to resolve this.
      
      This bug was already reported and patched in bug 1570.  03/24/1999 20:02 - admin -
      
      
      
    4. foundin initialized to: "obsolete: 8.1b2"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "61. (unused)"
    10. title initialized to:
      Test script "io.test" io-52.8 always fail; unexpandable $thi
      
    11. type initialized to: "Bug"
  2. Ticket change [0c333166a0] (rid 114136) by welch on 2000-10-26 07:59:45:

    1. closedate changed to: "2000-10-26T00:59:45"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Invalid"
    5. status changed to: "Closed"
  3. Ticket change [a53f3a1328] (rid 110340) by dgp on 2001-04-05 08:23:14:

    1. closedate changed to: "2001-04-05T01:23:14"
    2. closer changed to: "dgp"
    3. subsystem changed to: "53. Configuration and Build Tools"
    4. title changed to:
      Test script "io.test" io-52.8 always fail; unexpandable $thi