Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: e3b1cc922c208ca36524a31fafdad1b5aa5ae8f7
Ticket: 3545365fffffffffffffffffffffffffffffffff
Crash in io-29.33b (no implicit flush of nonblocking on exit
User & Date: nijtmans on 2012-07-23 19:48:30
Changes

  1. icomment:
    >Would it not be safer to leave instanceData untouched,
    +1
    > , and let PipeClose2Proc (or other platform-specific close) give a "already closed"
    > error, rather than risk a NULL pointer dereference?
    
    That would mean that EACH close2Proc should implement this,
    I would prefer to check for CHANNEL_DEAD in the core, and
    simply not call close2Proc in that case.
    
    How about the FlushChannel call? Should that function be
    called when the channel is DEAD????
    
    
  2. login: "nijtmans"
  3. mimetype: "text/plain"
  4. username: "nijtmans"