normalize_path_copy(): document "dst" size expectations
authorJeff King <redacted>
Thu, 30 Jan 2020 09:52:19 +0000 (04:52 -0500)
committerJunio C Hamano <redacted>
Thu, 30 Jan 2020 21:45:58 +0000 (13:45 -0800)
commit9734b74a8f9e327e02762024596961209cf989d5
treee19e2f23b67a04d6ba2aac53699e2b5b98501663
parentd0654dc308b0ba76dd8ed7bbb33c8d8f7aacd783
normalize_path_copy(): document "dst" size expectations

We take a "dst" buffer to write into, but there's no matching "len"
parameter. The hidden assumption is that normalizing always makes things
smaller, so we're OK as long as "dst" is at least as big as "src". Let's
document that explicitly.

Signed-off-by: Jeff King <redacted>
Signed-off-by: Junio C Hamano <redacted>
path.c
git clone https://git.99rst.org/PROJECT