tree-wide: fix typo and comment style update

This commit is contained in:
Yu Watanabe
2023-02-15 10:08:16 +09:00
parent 0da4cc97b4
commit 0b75493da0
25 changed files with 27 additions and 27 deletions
+1 -1
View File
@@ -504,7 +504,7 @@ int read_virtual_file_fd(int fd, size_t max_size, char **ret_contents, size_t *r
* at least one more byte to be able to distinguish EOF from truncation. */
if (max_size != SIZE_MAX && n > max_size) {
n = size; /* Make sure we never use more than what we sized the buffer for (so that
* we have one free byte in it for the trailing NUL we add below).*/
* we have one free byte in it for the trailing NUL we add below). */
truncated = true;
break;
}