Skip to content
Tcl Source Code History Of Ticket 1119780
Login

History Of Ticket 1119780

Artifacts Associated With Ticket 1119780

  1. Ticket change [7bbc16dbd0] (rid 96957) by melbardis on 2005-02-10 02:16:38:

    1. assignee initialized to: "andreas_kupries"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Tcl_BadChannelOption kills any current result ands puts 
      out the standard fconfigure attributes and what the 
      current caller supplies as an argument. Ff called from a 
      stacked driver, any error placed by the lower layer 
      channel is lost.
      
      
    4. foundin initialized to: "obsolete: 8.5a2"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "melbardis"
    9. subsystem initialized to: "24. Channel Commands"
    10. title initialized to:
      Tcl_BadChannelOption incorrect operation on stacked channels
      
    11. type initialized to: "Bug"
  2. Ticket change [773df72542] (rid 89745) by andreas_kupries on 2005-10-06 04:27:35:

    1. closedate changed to: "2005-10-05T21:27:35"
    2. closer changed to: "andreas_kupries"
    3. icomment:
      Logged In: YES 
      user_id=75003
      
      I see no problem here. The Tcl_GetchannelOption API invokes
      the driver of the top channel, and it is expected that a
      channel calls the channel below if necessary. I.e. the code
      is going through the stack from the top down to the base channel
      
      In the case of "optionName == NULL" this means that the
      channels write their configuration into the result, and the
      order is not fully specified, as a channel may invoke the
      channel below before or after it has written its own
      configuration. In this situation Tcl_BadChannelOption (TBCO)
      is not called.
      
      In the case "optionName != NULL" the receiving channel
      handles all options it knows. There is no TBCO call. Unknown
      options however are passed to the lower layer. Again the
      channel/transformation does not call TBCO. It is only the
      lowest layer, the base channel which can decide that yes,
      this option is truly not known by anyone, not even me. This
      layer then calls TBCO. Nobody else. Thus when the call stack
      is unwound no calls to TBCO will replace the error from the
      lower layer.
      
      
      
    4. login: "andreas_kupries"
    5. mimetype: "text/plain"
    6. resolution changed to: "Invalid"
    7. status changed to: "Closed"
    8. username: "andreas_kupries"