> >That seems OK to me, but it might be nice if STDIO was smart enough to >understand that writes to FILEs open for appending should be "atomic", >and so to flush the stdio cache at application write boundaries.
Hm, I think I'd still prefer writes when the buffer is full. But we could make the log files line buffered. >> * The behaviour Renaud saw is for a case where the file descriptor lacks >> O_APPEND. > >OT: I could swear I've seen shells that don't use O_APPEND when using >'>>', but ksh93 does it. sh doesn't, csh doesn't but the other I tried do (tcsh, ksh, ksh93, bash, zsh) Casper