Merge pull request #12836 from yuwata/tree-wide-replace-strjoin
authorLennart Poettering <lennart@poettering.net>
Sat, 22 Jun 2019 18:02:46 +0000 (20:02 +0200)
committerGitHub <noreply@github.com>
Sat, 22 Jun 2019 18:02:46 +0000 (20:02 +0200)
tree-wide: replace strjoin() with path_join()

1  2 
src/basic/cgroup-util.c
src/basic/conf-files.c
src/basic/path-util.c
src/core/cgroup.c
src/delta/delta.c
src/libsystemd/sd-device/sd-device.c
src/nspawn/nspawn-mount.c
src/nspawn/nspawn.c
src/shared/install.c
src/shared/path-lookup.c

Simple merge
Simple merge
Simple merge
Simple merge
@@@ -429,10 -423,10 +429,10 @@@ static int process_suffix(const char *s
          NULSTR_FOREACH(p, prefixes) {
                  _cleanup_free_ char *t = NULL;
  
 -                if (should_skip_path(p, suffix))
 +                if (should_skip_path(p, suffix) > 0)
                          continue;
  
-                 t = strjoin(p, "/", suffix);
+                 t = path_join(p, suffix);
                  if (!t) {
                          r = -ENOMEM;
                          goto finish;
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge