Chromium Code Reviews
DescriptionSingleLogSource reads whole lines whenever possible
Previously, if SingleLogSource found no newline at the end of a read,
it would reset the file read offset and return nothing.
With this patch, it will return as many whole lines with newlines at
the end as it possibly can, and update the file read offset.
BUG=731906
TEST=unit tests pass
Review-Url: https://codereview.chromium.org/2930383002
Cr-Commit-Position: refs/heads/master@{#479154}
Committed: https://chromium.googlesource.com/chromium/src/+/b68e3bed1ed8f2b84cbc53c8ce9a3dc7a2536858
Patch Set 1 #
Depends on Patchset: Dependent Patchsets: Messages
Total messages: 12 (8 generated)
|
||||||||||||||||||||||||||||