Skip to content
Tcl Source Code Artifact [b45f623772]
Login

Artifact [b45f623772]

Artifact b45f62377208425f71d9fb9458688c5e2a44453f:

Ticket change [b45f623772] - New ticket [1245953fffffffff|1245953fff] <i>exec &quot;&gt;&gt;&quot; does &quot;a&quot;-style opening, not &quot;APPEND&quot;</i>. by avl42 on 2005-07-27 12:12:09.
D 2005-07-27T12:12:09
J assignee andreas_kupries
J cmimetype text/plain
J comment when\sI\sdo:\n\s\sexec\smyprog\s>>\slogfile\nthis\shappens:\n\n\s\s\sopen("logfile",\sO_WRONLY|O_CREAT|O_LARGEFILE,\s0666)\s=\s5\n\s\s\s_llseek(5,\s0,\s[0],\sSEEK_END)\s\s\s\s\s\s\s\s\s\s\s\s=\s0\n\nThis\sis\sjust\sa\sbad\sthing.\sEveryone\sused\sto\sshell-syntax\s\nexpects\sthe\sfile\sto\sbe\sopened\swith\sthe\s"O_APPEND"\sflag,\nsuch\sthat\stwo\sconcurrent\sprocesses\soutputting\sto\sthe\nsame\sfile\swill\snot\soverwrite\seach\sothers\soutput,\sbut\salways\nappend.\n
J foundin obsolete:\s8.5a3
J priority 5\sMedium
J resolution None
J status Open
J submitter avl42
J subsystem 25.\sChannel\sSystem
J title exec\s">>"\sdoes\s"a"-style\sopening,\snot\s"APPEND"
J type Bug
K 1245953fffffffffffffffffffffffffffffffff
U avl42
Z e2b6ba28611c5fa6e8732a9a9161e6d7