Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: abb67e8e0133974e205c02365332407f7fcce42a
Ticket: 2888099fffffffffffffffffffffffffffffffff
[close] discards buffered data when no space left on device
User & Date: andreas_kupries on 2009-11-10 01:38:30
Changes

  1. icomment:
    You are misunderstanding the snippet. It looks for a bypass message, yes, and moves such a message up for use by the caller, yes. When there is no message in the bypass then the regular reporting of whatever is in errno should happen. The bypass stuff will happen only if it is used by a channel driver (see tclIORefChan/tclIORefTrans.c), and otherwise the regular error reporting is in effect.
    
    Given what you are saying with regard to [fconfigure -translation binary] causing the reporting to happen as usual I believe that we should now look for the differences in code execution between the 'configure binary' and the regular case.
    
    Also note that the snippet you refer too is run before 'FlushChannel'.
    
    Or are you saying that the bypass are had a message, and is now overriding whatever came from 'FlushChannel' ?
    
    Or is this now an artefact of trying to simulate the 'no space left' with a virtual filesystem and/or channel ?
    
    
    
  2. login: "andreas_kupries"
  3. mimetype: "text/plain"
  4. username: "andreas_kupries"