Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 073268ccc8e6c2595dcc925a67a54eba3f75788e
Ticket: 680143ffffffffffffffffffffffffffffffffff
Multi-append file surprise
User & Date: dkf on 2003-02-24 18:09:07
Changes

  1. icomment:
    Logged In: YES 
    user_id=79902
    
    The docs are correct as they stand.  Just very surprising to
    someone coming from C, as fopen()'s mode args look very
    similar but are not in this respect.  Perhaps a note that
    "a" does not use O_APPEND internally would be a good idea,
    though I still fear that people will get caught out.
    
    If the original intention of "a" like modes was to mirror
    what happens in stdio, the current behaviour is a bug no
    matter how accurately we go about documenting it.  But I
    don't actually know what classic Tcl (i.e. Tcl7.3 or 7.4
    before cross-platform support was added) did here...
    
    
  2. login: "dkf"
  3. mimetype: "text/plain"
  4. username: "dkf"