diff options
author | Jean-Sébastien Pédron <dumbbell@FreeBSD.org> | 2025-07-10 23:04:29 +0000 |
---|---|---|
committer | Jean-Sébastien Pédron <dumbbell@FreeBSD.org> | 2025-08-09 12:26:25 +0000 |
commit | f0e445912658eeb80aa0bf156e778be9185e31bc (patch) | |
tree | 4c210b56a2b2d59944499689a3207efcd9cff7c6 /googletest/include/gtest/(developers-only) | |
parent | 7cbc4d875971860d941cc15d7f42e6cfeffbfe66 (diff) |
`seq_read()` is usually called in a loop because the destination buffer
might be smaller than the source. The caller relies on the updated
position to read what is next.
We also use `memcpy()` instead of `strscpy()` because we don't need to
append a NUL character.
Reviewed by: bz
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D51560
Diffstat (limited to 'googletest/include/gtest/(developers-only)')
0 files changed, 0 insertions, 0 deletions