commit | 59925b590a32d9a3dcc7bebcec719d5fb6c87267 | [log] [tgz] |
---|---|---|
author | Nick Desaulniers <nickdesaulniers@users.noreply.github.com> | Mon Apr 01 14:13:56 2024 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Apr 01 14:17:41 2024 -0700 |
tree | c9d2e113c2a9275d16e20a435bc22cd9d94cf768 | |
parent | 7821c49adbf82bef6e2ce8c78755817d1cd61c65 [diff] |
[libc] fixup ftello test (#87282) Use a seek offset that fits within the file size. This was missed in presubmit because the FILE based stdio tests aren't run in overlay mode; fullbuild is not tested in presubmit. WRITE_SIZE == 11, so using a value of 42 for offseto would cause the expression `WRITE_SIZE - offseto` to evaluate to -31 as an unsigned 64b integer (18446744073709551585ULL). Fixes #86928 GitOrigin-RevId: 70e189fbc96909d3841dd2bca4a2909345cd826f