Skip to content
Tcl Source Code History Of Ticket 1245953fffffffffffffffffffffffffffffffff
Login

History Of Ticket 1245953fffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 1245953fffffffffffffffffffffffffffffffff

  1. Ticket change [b45f623772] (rid 125020) by avl42 on 2005-07-27 12:12:09:

    1. assignee initialized to: "andreas_kupries"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized 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 initialized to: "obsolete: 8.5a3"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "avl42"
    9. subsystem initialized to: "25. Channel System"
    10. title initialized to: "exec ">>" does "a"-style opening, not "APPEND""
    11. type initialized to: "Bug"
  2. Ticket change [fb9b38f438] (rid 92093) by dkf on 2005-07-27 19:18:11:

    1. icomment:
      Logged In: YES 
      user_id=79902
      
      If O_APPEND is available (can we count on it?) we SHOULD use it.
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. priority changed to: "9 Immediate"
    5. username: "dkf"
  3. Ticket change [04d462d92a] (rid 88943) by dkf on 2005-07-27 19:24:32:

    1. icomment:
      Logged In: YES 
      user_id=79902
      
      O_APPEND looks universally available (or at least we already
      use it without having configure check for it) so absolutely
      no reason to not use it at all.
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  4. Ticket change [6df5db7869] (rid 128795) by dkf on 2005-07-28 22:30:29:

    1. assignee changed to: "dkf"
    2. closedate changed to: "2005-07-28T15:30:29"
    3. closer changed to: "dkf"
    4. icomment:
      Logged In: YES 
      user_id=79902
      
      Fixed in HEAD and 8.4 branch; test is a little fragile on
      very heavily loaded systems, but I don't know of any better
      way to test it easily.
      
      Note that Windows is not fixed, and cannot be fixed due to
      fundamental lamenesses in the Win32 API (i.e. no equivalent
      flag on file handles is available). Blame Microsoft.
      
      
    5. login: "dkf"
    6. mimetype: "text/plain"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"
    9. username: "dkf"