]> git.kaiwu.me - njs.git/commit
Fixed Buffer.prototype.lastIndexOf() when `from` is provided.
authorDmitry Volyntsev <xeioex@nginx.com>
Thu, 10 Oct 2024 00:59:26 +0000 (17:59 -0700)
committerDmitry Volyntsev <xeioexception@gmail.com>
Thu, 10 Oct 2024 16:43:41 +0000 (09:43 -0700)
commite0563f4dd6a2ab52b4796b5cc536ce14e8ad6483
tree963923918074043c47f0bbdc0bf4782b3596ec9d
parent6c8084b666cfe5db5d9401e7dff7981b5b2eb100
Fixed Buffer.prototype.lastIndexOf() when `from` is provided.

Previous incorrect fix was introduced in 5d15a8d6 (0.8.5).
src/njs_buffer.c
src/qjs_buffer.c
test/buffer.t.js