]> Sergey Matveev's repositories - nnn.git/commit
When handling SEL_NEW pass `path` to `abspath` call
authorme <email>
Tue, 21 Nov 2023 16:18:52 +0000 (19:18 +0300)
committerme <email>
Tue, 21 Nov 2023 16:26:20 +0000 (19:26 +0300)
commitbca441e00f68cef66f20d8165ce2532d45dc7ab9
tree6b654f7b0b1b34af22029fd96fe691d4610d3ddc
parent744a7554ef43b301355a6957ffd4c9e72a0cb076
When handling SEL_NEW pass `path` to `abspath` call

If `path` is not provided to `abspath`, later will do `getcwd`, and it's result will differ from `path`. This causes problem that when creating directory inside path reached with symlink, subsequent call to get_cwd_entry does not recognize newly created path as subpath of current path, thus not selecting newly created element.
src/nnn.c