Files
neovim/runtime/doc
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:17:46 +01:00
2026-03-11 18:24:57 +01:00
2026-03-11 18:17:46 +01:00
2026-02-12 13:46:45 +01:00
2026-02-12 13:46:45 +01:00
2026-03-11 18:17:46 +01:00
2024-05-15 23:19:26 +02:00
2026-03-11 18:00:18 +01:00
2026-03-11 18:00:18 +01:00
2026-03-11 18:24:57 +01:00
2025-12-06 20:33:02 -05:00
2023-06-25 17:14:28 +02:00
2026-03-11 18:00:18 +01:00
2025-12-06 20:33:02 -05:00
2026-01-27 17:14:57 -05:00
2026-03-11 18:24:57 +01:00
2026-01-12 03:50:57 +00:00
2026-03-11 18:00:18 +01:00
2025-12-15 13:55:15 -05:00
2026-02-12 13:46:45 +01:00
2026-03-11 18:17:46 +01:00
2025-12-15 13:55:15 -05:00
2026-01-23 09:30:37 +01:00
2026-02-12 13:46:45 +01:00
2025-12-15 13:55:15 -05:00
2026-03-11 18:17:46 +01:00
2025-09-28 20:57:59 -07:00
2025-12-15 13:55:15 -05:00
2026-03-11 18:00:18 +01:00
2025-12-15 13:55:15 -05:00
2025-12-06 20:33:02 -05:00
2026-03-11 18:24:57 +01:00
2026-03-11 18:17:46 +01:00
2026-01-27 17:14:57 -05:00
2026-03-11 18:00:18 +01:00
2026-01-07 08:11:42 +08:00
2025-12-06 20:33:02 -05:00
2025-12-06 20:33:02 -05:00
2026-03-11 12:39:49 +01:00
2025-12-15 13:55:15 -05:00
2026-03-11 18:00:18 +01:00
2026-03-11 18:24:57 +01:00
2026-03-11 18:24:57 +01:00
2026-03-11 18:17:46 +01:00