]> Git Repo - qemu.git/commit
block: Make path_combine() return the path
authorMax Reitz <[email protected]>
Fri, 1 Feb 2019 19:29:13 +0000 (20:29 +0100)
committerMax Reitz <[email protected]>
Mon, 25 Feb 2019 14:11:26 +0000 (15:11 +0100)
commit009b03aaa233ccf5bd3014404995540158d7dc93
tree5e2705c8175471c53990bea7d4ff154652fdc133
parent0f62cd8204163ba082056094a0bcb693faf67bf6
block: Make path_combine() return the path

Besides being safe for arbitrary path lengths, after some follow-up
patches all callers will want a freshly allocated buffer anyway.

In the meantime, path_combine_deprecated() is added which has the same
interface as path_combine() had before this patch. All callers to that
function will be converted in follow-up patches.

Signed-off-by: Max Reitz <[email protected]>
Reviewed-by: Alberto Garcia <[email protected]>
Reviewed-by: Kevin Wolf <[email protected]>
Message-id: 20190201192935[email protected]
Signed-off-by: Max Reitz <[email protected]>
block.c
block/vmdk.c
include/block/block.h
This page took 0.022492 seconds and 4 git commands to generate.