Johannes Schindelin <johannes.schindelin@xxxxxx> writes: > This commit prepares for future callers that will have a pointer/length > to some text to be written that lacks an LF, yet an LF is desired. > Instead of requiring the caller to append an LF to the buffer (and > potentially allocate memory to do so), the write_message() function > learns to append an LF at the end of the file. As no existing callers need this, it probably is better left out and added to the series that actually needs the new feature as a preparatory step.