Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 388abb00b8339927c6d73b0852c85d6685baa86a
Ticket: 680143ffffffffffffffffffffffffffffffffff
Multi-append file surprise
User & Date: dkf on 2006-03-10 22:18:06
Changes

  1. icomment:
    Logged In: YES 
    user_id=79902
    
    The HEAD is still brain-damaged because it still doesn't use
    O_APPEND for the 'a' mode (unlike what you'd expect if you
    used stdio, like Tcl used to waaay back).
    
    $ rm test1.out test2.out
    $ tclsh8.5
    % foreach i {1 2 3 4 5 6 7 8 9 0} {puts [open test1.out a]
    $i};exit
    $ tclsh8.5
    % foreach i {1 2 3 4 5 6 7 8 9 0} {puts [open test2.out
    {WRONLY CREAT APPEND}] $i};exit
    $ wc -c test*
          2 test1.out
         20 test2.out
         22 total
    
    
    
  2. login: "dkf"
  3. mimetype: "text/plain"
  4. username: "dkf"