Skip to content
Tcl Source Code History Of Ticket 218511ffffffffff
Login

History Of Ticket 218511ffffffffff

Artifacts Associated With Ticket 218511ffffffffff

  1. Ticket change [33ebff35c5] (rid 106675) by nobody on 2000-10-26 01:01:30:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 787 Bug
      Version: 8.0.3
      SubmitDate: '1998-11-02'
      LastModified: '2000-01-12'
      Severity: SER
      Status: Released
      Submitter: pat
      ChangedBy: hobbs
      RelatedBugIDs: 692
      OS: Solaris
      OSVersion: 2.5.1
      FixedDate: '2000-01-12'
      FixedInVersion: 8.0.5
      ClosedDate: '2000-10-25'
      
      
      ReproducibleScript:
      The following line inside a fileevent callback for reading
      input from a pipe fails to return error codes.
      
         set iseerr [catch {close $pipefd} errorString]
      
      The iserr varible is always 0 even if we explictly return a
      non-zero error code from the other side of the pipe.  I
      found a work around on the internet that said to do the
      close outside of the fileevent callback using vwait as a
      trigger.  I implemented this in a simple example and it
      worked.  When I implemented in our production code, it
      failed.  Therefore there is some other reaction that I am
      not aware of that is causing this to fail.  This bug fix is
      critical for since it means I will have to do some ugly
      modifications to our code to make this work.
      
      Here are references to the articles that report the bug and
      work around.
      
      Bug analysis:
      
              http://x11.dejanews.com/getdoc.xp?AN=393975232
      
      Simple workaround:
      
              http://x14.dejanews.com/getdoc.xp?AN=393246193
      
      
      ObservedBehavior:
      Close doen't return error codes inside fileevent
      callback.
      
      DesiredBehavior:
      Close should return error codes.
      
      
      
      This works again in 8.0.5. 
      -- 12/03/1999 hobbs
      
    4. foundin initialized to: "obsolete: 8.0.3"
    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: "60. NRE and coroutines"
    10. title initialized to: "Close command does not return errors"
    11. type initialized to: "Bug"
  2. Ticket change [331278061a] (rid 106519) by welch on 2000-10-26 08:23:19:

    1. closedate changed to: "2000-10-26T01:23:19"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"
  3. Ticket change [0c8a29d6d7] (rid 114196) by dgp on 2001-04-05 08:20:13:

    1. closedate changed to: "2001-04-05T01:20:13"
    2. closer changed to: "dgp"
    3. subsystem changed to: "27. Channel Types"