]> git.ipfire.org Git - thirdparty/LuaJIT.git/commit
Clarify that lj_buf_shrink() does not keep any buffer data.
authorMike Pall <mike>
Wed, 3 Jul 2024 22:03:40 +0000 (00:03 +0200)
committerMike Pall <mike>
Wed, 3 Jul 2024 22:03:40 +0000 (00:03 +0200)
commit444c8ff19a39248307a7037354d6d259cc0e5efc
tree48fe86759b3b12514dc0875f6a6df030a7ddcbb3
parent747fc02eb97f0c12e08723df788fd20a2f449397
Clarify that lj_buf_shrink() does not keep any buffer data.

https://www.freelists.org/post/luajit/lj-buf-shrink-may-truncate-the-data-and-sbw-point-over-the-end-of-the-buffer,1
Thanks to Junlong li.
src/lj_buf.c