support: Add helpers to create paths longer than PATH_MAX
commitfb7bff12e81c677a6622f724edd4d4987dd9d971
authorSiddhesh Poyarekar <siddhesh@sourceware.org>
Tue, 18 Jan 2022 07:59:36 +0000 (18 13:29 +0530)
committerSiddhesh Poyarekar <siddhesh@sourceware.org>
Fri, 21 Jan 2022 17:31:27 +0000 (21 23:01 +0530)
tree6aeb710a4d50940306999e5df8b701ea52ce389f
parent6b8dbbd03ac88f169b65b5c7d7278576a11d2e44
support: Add helpers to create paths longer than PATH_MAX

Add new helpers support_create_and_chdir_toolong_temp_directory and
support_chdir_toolong_temp_directory to create and descend into
directory trees longer than PATH_MAX.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Signed-off-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
support/temp_file.c
support/temp_file.h