[Lldb-commits] [PATCH] D25783: [Host] handle short reads and writes

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Wed Oct 19 13:18:02 PDT 2016


labath added a comment.

I am not sure the "append" thing is actually a "fix". I consider it more like a feature of the append mode. It's also nice that it guarantees atomicity of writes even if two processes are writing to the same file (very useful for logging, although I'm not sure if that goes through these functions). I think we should keep the original behavior of append mode, as that is the behavior anyone familiar with standard file APIs will expect.


https://reviews.llvm.org/D25783





More information about the lldb-commits mailing list