strv: drop the escape_separator flag from strv_join_full()

Now that fstab_filter_options() no longer uses strv_join_full() with
escape_separator=true (it splits with EXTRACT_UNESCAPE_RELAX and joins the kept
options verbatim), the escape_separator flag has no users. Drop it from
strv_join_full() and its wrapper strv_join(), and update the remaining callers in
kernel-install and the tests accordingly.
This commit is contained in:
wyu
2026-08-13 11:17:23 +08:00
parent eb5ee83c1f
commit 7b00f957fe
5 changed files with 15 additions and 42 deletions
+2 -2
View File
@@ -1093,10 +1093,10 @@ static int context_execute(Context *c) {
return r;
if (DEBUG_LOGGING) {
_cleanup_free_ char *x = strv_join_full(c->plugins, "", "\n ", /* escape_separator= */ false);
_cleanup_free_ char *x = strv_join_full(c->plugins, "", "\n ");
log_debug("Using plugins: %s", strna(x));
_cleanup_free_ char *y = strv_join_full(c->envp, "", "\n ", /* escape_separator= */ false);
_cleanup_free_ char *y = strv_join_full(c->envp, "", "\n ");
log_debug("Plugin environment: %s", strna(y));
_cleanup_free_ char *z = strv_join(strv_skip(c->argv, 1), " ");