Fix for #8648.
https://github.com/vim/vim/pull/8655
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.![]()
Merging #8655 (f7484fb) into master (0732932) will decrease coverage by
0.00%.
The diff coverage is0.00%.
@@ Coverage Diff @@ ## master #8655 +/- ## ========================================== - Coverage 2.46% 2.46% -0.01% ========================================== Files 148 148 Lines 164959 164969 +10 ========================================== Hits 4072 4072 - Misses 160887 160897 +10
| Flag | Coverage Δ | |
|---|---|---|
| huge-gcc-unittests | 2.46% <0.00%> (-0.01%) |
⬇️ |
Flags with carried forward coverage won't be shown. Click here to find out more.
| Impacted Files | Coverage Δ | |
|---|---|---|
| src/if_lua.c | 0.00% <0.00%> (ø) |
|
| src/misc2.c | 5.31% <0.00%> (-0.03%) |
⬇️ |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing data
Powered by Codecov. Last update 0732932...f7484fb. Read the comment docs.
Hm, the Lua manual doesn't mention this at all; luaL_buffinit() does use LUAL_BUFFERSIZE initially, but luaL_addlstring() calls prepbuffsize() which grows it as-needed.
I mean, if it works then it works so it's fine, but I think it was somehow using the API wrong, unless I completely misunderstood things.
Hm, the Lua manual doesn't mention this at all; luaL_buffinit() does use LUAL_BUFFERSIZE initially, but luaL_addlstring() calls prepbuffsize() which grows it as-needed.
I mean, if it works then it works so it's fine, but I think it was somehow using the API wrong, unless I completely misunderstood things.
Ah yes, that makes sense.
For some strange reason I dreamt about this issue last night and from what I recall in my dream I came to the same conclusion. The human mind works in funny ways 😅
—
You are receiving this because you commented.