Speaking only for myself, and not even a native english speaker, I think that ‘append’ implies something that you want to put things after. If you truncate there is nothing to put things after. So one of them has to be ‘’wrong’’.
Maybe the person that wrote the software tossed a coin?
> On 1 Oct 2018, at 22:48, Krishna Sai Veera Reddy <[hidden email]> wrote:
> Opening file in `write` only mode seems to truncate the file but for whatever reason when `append` mode is also used the file doesn't truncate. Was this intentional?
> erlang-questions mailing list
> [hidden email] > http://erlang.org/mailman/listinfo/erlang-questions