]> git.kaiwu.me - njs.git/commit
Fixed nxt_file_dirname() for paths with no dir component.
authorhongzhidao <hongzhidao@gmail.com>
Sat, 23 Mar 2019 11:57:52 +0000 (14:57 +0300)
committerhongzhidao <hongzhidao@gmail.com>
Sat, 23 Mar 2019 11:57:52 +0000 (14:57 +0300)
commita2e77776d9cee708030a8b1cc11febd3a7cf0d4f
tree06f1a2f61d347e169aaee8012cf99c784d23b7fb
parentf57fb7d3828cdd98107c87e879716eebfcf4a16e
Fixed nxt_file_dirname() for paths with no dir component.

Making it more similar to dirname shell cmd.

This closes #114 issue on Github.
njs/test/njs_unit_test.c
nxt/nxt_file.c