wrong behaviour of open mode "a+"
Closed / Fixed1773127fffffffffffffffffffffffffffffffffCreated 19 years agoUpdated 19 years ago
Descriptionplain2007-08-13 14:50:46
Since changing the bahaviour of the open mode "a" (appending, write only, seeking automatically to EOF with each write) also, and wrongly, the open mode "a+" changed to automatic EOF seeking at each write. Correctly it should seek to EOF _only_ at initial open, as documented.
dkf Ticket [1773127fff]: 3 changes
[History diff]2007-08-13 23:45:54
dkfplain2007-08-16 00:44:33
Logged In: YES user_id=79902 Originator: NO Fixed by removing the O_APPEND when a '+' is seen when processing the mode string.
hobbsplain2007-12-14 09:29:51
Logged In: YES user_id=72656 Originator: NO Backported for 8.4.17
Log in (anonymous is fine) to add a comment.