Files
neovim/src/nvim
anondeveg 32aee065a8 feat(startup): warn if NVIM_LOG_FILE is inaccessible #38070
Problem:
If NVIM_LOG_FILE, or the default fallback, is inaccessible (e.g.
directory is owned by root), users get confused.

Solution:
Show a warning when $NVIM_LOG_FILE or $XDG_STATE_HOME are inaccessible.

Also fix a latent memory leak: `os_mkdir_recurse` returns a uv error
code (int), but it was stored as `bool`, causing `os_strerror` to
receive an invalid error code and leak memory.

See: https://docs.libuv.org/en/v1.x/errors.html#c.uv_strerror

Co-authored-by: Sean Dewar <6256228+seandewar@users.noreply.github.com>
Co-authored-by: Justin M. Keyes <justinkz@gmail.com>
2026-03-12 04:40:07 -04:00
..
2026-03-11 18:24:57 +01:00
2026-03-11 18:00:18 +01:00
2026-03-05 10:48:25 +01:00
2025-12-20 22:07:27 -05:00
2026-03-11 18:24:57 +01:00
2024-01-11 21:37:23 +01:00
2026-03-11 18:00:18 +01:00
2026-03-11 18:00:18 +01:00
2024-01-11 21:37:23 +01:00
2025-12-15 13:55:15 -05:00
2023-11-28 22:23:56 +01:00
2024-01-11 21:37:23 +01:00
2026-02-12 13:46:45 +01:00
2026-03-11 18:00:18 +01:00
2025-11-16 20:36:07 -08:00
2024-01-11 21:37:23 +01:00
2024-01-11 21:37:23 +01:00
2025-09-13 22:49:50 -04:00
2024-01-11 21:37:23 +01:00
2025-12-06 20:33:02 -05:00
2026-03-09 11:35:38 -04:00
2025-11-19 20:43:15 -08:00
2026-03-11 18:17:46 +01:00