Skip to content
Commit 1cad9b10 authored by Pavel Emelyanov's avatar Pavel Emelyanov
Browse files

util: Fix the ispathsub corner case



ispathsub("/foo", "/") reports false. This is a corner case,
as 2nd argument is not expected to end with /. Fix this and
add comment about ispathsub() arguments assumptions.

Reported-by: default avatarAndrey Vagin <avagin@parallels.com>
Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
parent 6bc8b637
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment