Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 47229f5dfef62395e251bf25aed0226cd368da0a
Ticket: 2888099fffffffffffffffffffffffffffffffff
[close] discards buffered data when no space left on device
User & Date: flatworm on 2009-10-29 01:06:59
Changes

  1. icomment:
    Reproduced on Windows XP for CVS HEAD:
    
    C:\>dd if=/dev/zero of=G:\blob bs=1024 count=1024
    rawwrite dd for windows version 0.5.
    Written by John Newbigin <[email protected]>
    This program is covered by the GPL.  See copying.txt for details
    Error writing file: 112 Недостаточно места на диске
    1001+0 records in
    1000+0 records out
    
    C:\>c:\opt\86d\bin\tclsh86g.exe
    % set fd [open g:/foo w]
    filea02c18
    % chan config $fd -buffering full
    % puts $fd data
    % close $fd
    % set fd [open g:/foo w]
    filea07bc0
    % chan config $fd -buffering full
    % puts $fd data
    % flush $fd
    error flushing "filea07bc0": no space left on device
    % set errorCode
    POSIX ENOSPC {no space left on device}
    % close $fd
    % exit
    
    
  2. login: "flatworm"
  3. mimetype: "text/plain"
  4. username: "flatworm"