fix DirectoryNotEmpty when it comes to a Non-directory file
authoryangmingtai <961612727@qq.com>
Mon, 6 Dec 2021 09:06:13 +0000 (17:06 +0800)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 11 Jan 2022 18:15:12 +0000 (19:15 +0100)
commit0fdcae09c44486e30e4fe0469606c02d034577be
treed924c0a2c076a212b53867660228bd0218b502aa
parenta8c9925516d51f06068f3f32c7e908ff467271e0
fix DirectoryNotEmpty when it comes to a Non-directory file

(cherry picked from commit 5896a9ebdbe4d38c01390d0a5e82f9fcb4971059)
src/core/path.c