Overview
| Artifact ID: | 7876b6f9efd1043ffad5bace6acf20cffda98349 |
|---|---|
| Ticket: | 3545365fffffffffffffffffffffffffffffffff
Crash in io-29.33b (no implicit flush of nonblocking on exit |
| User & Date: | twylite on 2012-07-23 20:02:34 |
Changes
- icomment:
>> , 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. I agree that CHANNEL_DEAD should be checked in the core. I wasn't suggesting changes to any close2Proc, merely that a close() on an already-closed fd will result in an OS error, which is preferable to a dereference of a NULL pointer.
- login: "twylite"
- mimetype: "text/plain"
- username: "twylite"