aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2025-07-17 09:33:25 -0700
committerAndrew Kelley <andrew@ziglang.org>2025-07-17 09:33:25 -0700
commit155ab56cc63d775cca77d7bedbcac6ee65558818 (patch)
treef00931ca6eb57e94e35662ad25f062094dfd6a81 /test
parent5784500572e3d12b0342cc5b09210c1d1f49edc5 (diff)
downloadzig-155ab56cc63d775cca77d7bedbcac6ee65558818.tar.gz
zig-155ab56cc63d775cca77d7bedbcac6ee65558818.zip
std.zig.readSourceFileToEndAlloc: avoid resizing
+1 on the ensure total capacity to account for the fact that we add a null byte before returning. thanks matklad
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions