diff options
| author | phanium <91544758+phanen@users.noreply.github.com> | 2026-05-09 02:47:00 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-05-08 14:47:00 -0400 |
| commit | b7d8a41d91dcfebe9a5f3d0cf2f0bb0b8d59e32e (patch) | |
| tree | 752cf7498cc15872a73f7a8f01382ebd2baa13d3 /runtime/lua/vim/loader.lua | |
| parent | 27909a193de188af23d6e90c2c2d19faa2a95325 (diff) | |
| download | rneovim-b7d8a41d91dcfebe9a5f3d0cf2f0bb0b8d59e32e.tar.gz rneovim-b7d8a41d91dcfebe9a5f3d0cf2f0bb0b8d59e32e.tar.bz2 rneovim-b7d8a41d91dcfebe9a5f3d0cf2f0bb0b8d59e32e.zip | |
build: strncat warning in buf_write #39684
To make gcc happy
```
src/nvim/bufwrite.c: In function ‘buf_write’:
src/nvim/bufwrite.c:1674:5: warning: ‘strncat’ specified bound depends
on the length of the source argument [-Wstringop-overflow=]
1674 | strncat(msg_id + 14, IObuff, strlen(IObuff) - 1);
| ^
src/nvim/bufwrite.c:1674:34: note: length computed here
1674 | strncat(msg_id + 14, IObuff, strlen(IObuff) - 1);
| ^
src/nvim/fileio.c: In function ‘filemess’:
src/nvim/fileio.c:137:5: warning: ‘strncat’ specified bound depends on
the length of the source argument [-Wstringop-overflow=]
137 | strncat(msg_id + 14, IObuff, strlen(IObuff) - 1);
| ^
src/nvim/fileio.c:137:34: note: length computed here
137 | strncat(msg_id + 14, IObuff, strlen(IObuff) - 1);
| ^
```
Diffstat (limited to 'runtime/lua/vim/loader.lua')
0 files changed, 0 insertions, 0 deletions