On 24 September 2014 at 04:47, Wangyufen wangyu...@huawei.com wrote:
From: Wang Yufen wangyu...@huawei.com
I tested basename(path), path is ///, the basename(path) returned /,
but the input path also be modified to /. It because in basename impl,
last[1] = 0; modified the input path, I think
From: Wang Yufen wangyu...@huawei.com
I tested basename(path), path is ///, the basename(path) returned /,
but the input path also be modified to /. It because in basename impl,
last[1] = 0; modified the input path, I think that isn't correct.
This patch fix this problem.
Signed-off-by: Wang