This patch makes several changes.
1) Change the behavior of path_concat so that it will always return an
empty string if it hits ENOBUFS.
2) Clean up the code, adding more comments.
3) Modify the unit tests to check for empty string and to make sure we
don't write past the allowed buffer if the input strings are too long.
4) Update the doxygen for path_concat so that it's clear that path will
be empty on failure.
Show replies by date