Skip to content
Commit d4f5faae authored by Peter Hutterer's avatar Peter Hutterer
Browse files

tools: move the builddir lookup function out to a separate file



We want to use this from the tests as well soon, so let's move it to a more
generic location. This also changes the API to be slightly more sensible, a
free() is the same cost (and safer) than passing a static buffer in and hoping
we didn't get the size wrong.

Signed-off-by: default avatarPeter Hutterer <peter.hutterer@who-t.net>
parent cbbd5b15
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