]> Sergey Matveev's repositories - nnn.git/commit
handle tilde more strictly in mkpath and abspath
authorNRK <nrk@disroot.org>
Sun, 26 Feb 2023 12:11:43 +0000 (18:11 +0600)
committerNRK <nrk@disroot.org>
Sun, 26 Feb 2023 12:13:26 +0000 (18:13 +0600)
commit3a30211e6cbe9df59692ee4f54a5f5b10fcf5e8d
treeb05084967817d5e5501c5a28c8aeabfbfb13961f
parent8dbd9da0cc37db3bdc001c616639c50cffdf955a
handle tilde more strictly in mkpath and abspath

otherwise, if a file is named "~" it will get incorrectly expanded into
$HOME and disaster can happen.
src/nnn.c