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:
@@ -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), " ");
|
||||
|
||||
Reference in New Issue
Block a user