Skip to content
Tcl Source Code History Of Ticket 217834
Login

History Of Ticket 217834

Artifacts Associated With Ticket 217834

  1. Ticket change [cec6bc76b6] (rid 96107) by nobody on 2000-10-26 00:44:36:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 1682 Bug
      Version: 8.0.3
      SubmitDate: '1999-03-31'
      LastModified: '1999-11-07'
      Severity: MED
      Status: Closed
      Submitter: pat
      ChangedBy: hobbs
      RelatedBugIDs: 710
      OS: Solaris
      OSVersion: SunOS hostname 5.7 Generic sun4u sparc SUNW,Ultra-5_10
      Machine: Other
      FixedDate: '2000-10-25'
      ClosedDate: '1999-11-07'
      
      
      Name:David F. Skoll
      
      ReproducibleScript:
          I define this procedure in tclsh 8.0.3 on Solaris 2.7:
          
          proc nonblock {} {
              set fp [open "|sleep 120" "RDONLY NONBLOCK"]
              fconfigure $fp -blocking 0
              close $fp
          }
      
      ObservedBehavior:
          Reading the "close" manual page (and in fact perusing the Tcl source
          code) I expect this procedure to return immediately to its caller.
          However, the "close" blocks until the "sleep" exits.  I thought that for
          non-blocking command pipelines, close was non-blocking too and that the
          children were reaped in the background.  Is this a real bug or just
          misunderstanding on my part?
      
      DesiredBehavior:
          I expect an immediate return.
      
      
      
    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" blocks even for non-blocking pipelines"
    11. type initialized to: "Bug"
  2. Ticket change [26437e142a] (rid 88309) by welch on 2000-10-26 07:59:46:

    1. closedate changed to: "2000-10-26T00:59:46"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Invalid"
    5. status changed to: "Closed"
  3. Ticket change [9534a1353a] (rid 106122) by dgp on 2001-04-05 08:20:15:

    1. closedate changed to: "2001-04-05T01:20:15"
    2. closer changed to: "dgp"
    3. subsystem changed to: "27. Channel Types"
    4. title changed to:
      "close" blocks even for non-blocking pipelines