commit | 9453a7451d66ee1ea5762a75161bf8a818c01a1f | [log] [tgz] |
---|---|---|
author | Paul Smith <psmith@gnu.org> | Fri Jun 28 21:57:59 2013 -0400 |
committer | Paul Smith <psmith@gnu.org> | Fri Jun 28 21:57:59 2013 -0400 |
tree | fc76410d37ff3b464dd1da10a4ab4b90e1331354 | |
parent | 5e7bf7c554317849610173845871ae7d6a130ffe [diff] |
Set O_APPEND mode for stdout/stderr and output-sync temporary files. POSIX does not guarantee that writes will be atomic if a file is opened for normal (non-append) output. That means if multiple processes are writing to the same file, output could be lost. I can't think of a real use-case where we would NOT want append for stdout/stderr, so force it if we can.