Skip to content
Tcl Source Code History Of Ticket 1106853
Login

History Of Ticket 1106853

Artifacts Associated With Ticket 1106853

  1. Ticket change [e31774ac9a] (rid 87731) by nobody on 2005-01-21 17:33:34:

    1. assignee initialized to: "andreas_kupries"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      If I create a channel in C code with Tcl_CreateChannel
      (passing in TCL_WRITABLE) then try to output to it
      using exec, like so:
      
      % exec ls >@channel
      
      I get the error message (under Linux):
      
      channel "foo" wasn't opened for writing
      
      The actual cause of the error is that there's no file
      handle associated with my channel. I don't mind that
      this doesn't work, but the error message is confusing,
      especially since the channel patently is open for
      writing, since:
      
      % puts channel "some string"
      
      works fine.
      
      This is with Tcl 8.4.7.
      
    4. foundin initialized to: "None"
    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: "25. Channel System"
    10. title initialized to: "On Linux, exec >@channel may give incorrect error"
    11. type initialized to: "Bug"
  2. Ticket change [288b9ad140] (rid 259723) by serhiy.storchaka on 2026-10-21 10:03:37:

    1. icomment:
      Fixed in 8.5.8 and 8.6.0 by [9039eeb584] (8.5: [62c8e5320a]): for a channel without OS handles, exec redirection now reports <tt>channel "x" does not support OS handles</tt> instead of "wasn't opened for writing".
      
    2. login: "serhiy.storchaka"
    3. mimetype: "text/x-fossil-wiki"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"
  3. Ticket change [f944d952d3] (rid 260015) by serhiy.storchaka on 2026-10-22 17:19:30:

    1. closedate changed to: "2461334.9191868636"
    2. closer changed to: "serhiy.storchaka"
    3. login: "serhiy.storchaka"