tree-wide: fix typo and comment style update
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user