Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b45f62377208425f71d9fb9458688c5e2a44453f
Ticket: 1245953fffffffffffffffffffffffffffffffff
exec ">>" does "a"-style opening, not "APPEND"
User & Date: avl42 on 2005-07-27 12:12:09
Changes

  1. assignee changed to: "andreas_kupries"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    when I do:
      exec myprog >> logfile
    this happens:
    
       open("logfile", O_WRONLY|O_CREAT|O_LARGEFILE, 0666) = 5
       _llseek(5, 0, [0], SEEK_END)            = 0
    
    This is just a bad thing. Everyone used to shell-syntax 
    expects the file to be opened with the "O_APPEND" flag,
    such that two concurrent processes outputting to the
    same file will not overwrite each others output, but always
    append.
    
    
  4. foundin changed to: "obsolete: 8.5a3"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "avl42"
  9. subsystem changed to: "25. Channel System"
  10. title changed to: "exec ">>" does "a"-style opening, not "APPEND""
  11. type changed to: "Bug"