Skip to content
Tcl Source Code History Of Ticket 1528500fffffffff
Login

History Of Ticket 1528500fffffffff

Artifacts Associated With Ticket 1528500fffffffff

  1. Ticket change [caa4c14f34] (rid 95392) by andygoth on 2006-07-25 16:53:00:

    1. assignee initialized to: "dgp"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      outputChannel mishandles the channel name passed to it.
       It only behaves as documented for stdout and stderr. 
      If the channel name is anything else, it opens a file
      of that same name.  This breaks any channel opened from
      within the program, including reflected channels,
      socket channels, and channels already connected to files.
      
    4. foundin initialized to: "obsolete: 8.5a4"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "andygoth"
    10. subsystem initialized to: "34. tcltest Package"
    11. title initialized to: "outputChannel incompatible with reflected channels"
    12. type initialized to: "Bug"
  2. Ticket change [637ed3f888] (rid 92591) by dgp on 2006-07-26 00:01:14:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      
      Same debugging session had
      trouble with the [exit]
      buried deep in [cleanupTests].
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  3. Ticket change [121a31e20f] (rid 95256) by andygoth on 2008-12-11 08:16:48:

    1. icomment:
      Is anyone maintaining tcltest?
      
      
    2. login: "andygoth"
    3. mimetype: "text/plain"
    4. username: "andygoth"
  4. Ticket change [dcb824da10] (rid 114534) by dgp on 2008-12-11 11:28:29:

    1. icomment:
      
      
      Fair question, but also an unkind
      week to pose it.
      
      This one's basically a documentation bug,
      right?  Can you suggest any language
      that would clarify things better?
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  5. Ticket change [3278644fea] (rid 93618) by andygoth on 2008-12-11 11:42:28:

    1. icomment:
      Please pardon me if my timing is bad; I have no idea what is special about this week.  I'm only asking this question now because I happened to be mucking with sourceforge for other reasons.  I'm not actually using tcltest for anything at the moment, and it's been a long time since I've needed it.  Lately my testing has been of an interactive nature, so automated testing isn't useful to me just now.
      
      I don't think it's a documentation bug, although it can be "fixed" by changing the documentation to explain outputChannel's surprising DWIM-style behavior.  I'd prefer that outputChannel be modified to always treat the channel name as a Tcl channel, rather than sometimes treating it as a filename.
      
      While we're on the subject of surprising DWIM-style behavior, the [exit] inside [cleanupTests] should probably be examined too.
      
      
    2. login: "andygoth"
    3. mimetype: "text/plain"
    4. username: "andygoth"
  6. Ticket change [0e8ec14067] (rid 94638) by dkf on 2008-12-11 16:04:05:

    1. icomment:
      We're trying to finalize features for 8.5b1, which we want out before Christmas.
      
      And we're trying to find time to decorate and buy presents too. I guess Tcl 8.6b1 isn't quite enough for most families. :-)
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  7. Ticket change [5d962b7446] (rid 115492) by ferrieux on 2008-12-11 16:25:26:

    1. icomment:
      If you offer them 8.5b1 I can understand some disappointment ;-)
      
      
    2. login: "ferrieux"
    3. mimetype: "text/plain"
    4. username: "ferrieux"
  8. Ticket change [8939bdc032] (rid 259480) by serhiy.storchaka on 2026-10-20 14:34:06:

    1. foundin changed to: "8.6.18, 9.0.5, 9.1.0"
    2. icomment:
      Still the case on main, 9.0 and 8.6: <code>outputChannel</code> and <code>errorChannel</code> open any name except stdout/stderr as a file, so with a reflected channel the output goes to a new file "rc0" in the current directory.
      
      Proposed fix in branch [ca00499284|tcltest-output-open-channel]: a name in <code>&#91;chan names&#93;</code> is used as the channel (tcltest does not close it); other names are still file names, which <code>-outfile</code>/<code>-errfile</code> rely on. New test tcltest-6.7.1.
      
    3. login: "serhiy.storchaka"
    4. mimetype: "text/x-fossil-wiki"
  9. Ticket change [ba0b43e2a5] (rid 259546) by dgp on 2026-10-20 18:22:01:

    1. closer changed to: "nobody"
    2. comment changed to:
      outputChannel mishandles the channel name passed to it.
       It only behaves as documented for stdout and stderr. 
      If the channel name is anything else, it opens a file
      of that same name.  This breaks any channel opened from
      within the program, including reflected channels,
      socket channels, and channels already connected to files.
      
    3. icomment: "will have a look"
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. severity changed to: "Minor"
  10. Ticket change [8841c69c53] (rid 259840) by jan.nijtmans on 2026-10-22 08:28:40:

    1. icomment:
      Fixed in [891b7e7921|trunk]. Not backported yet to 9.0 and 8.6
      
      Don, if you have any remarks, feel free to follow-up!
      
    2. login: "jan.nijtmans"
    3. mimetype: "text/x-fossil-wiki"
    4. resolution changed to: "Fixed"
    5. status changed to: "Pending"
  11. Ticket change [cfb9c58993] (rid 260740) by jan.nijtmans on 2026-10-28 13:44:57:

    1. closedate changed to: "2461342.072884514"
    2. closer changed to: "jan.nijtmans"
    3. icomment:
      Now also backported to core-9-0-branch and core-8-6-branch
      
      Closing. Many thanks!
      
    4. login: "jan.nijtmans"
    5. mimetype: "text/plain"
    6. status changed to: "Closed"