Systemd/src/import
Zbigniew Jędrzejewski-Szmek 605405c6cc tree-wide: drop NULL sentinel from strjoin
This makes strjoin and strjoina more similar and avoids the useless final
argument.

spatch -I . -I ./src -I ./src/basic -I ./src/basic -I ./src/shared -I ./src/shared -I ./src/network -I ./src/locale -I ./src/login -I ./src/journal -I ./src/journal -I ./src/timedate -I ./src/timesync -I ./src/nspawn -I ./src/resolve -I ./src/resolve -I ./src/systemd -I ./src/core -I ./src/core -I ./src/libudev -I ./src/udev -I ./src/udev/net -I ./src/udev -I ./src/libsystemd/sd-bus -I ./src/libsystemd/sd-event -I ./src/libsystemd/sd-login -I ./src/libsystemd/sd-netlink -I ./src/libsystemd/sd-network -I ./src/libsystemd/sd-hwdb -I ./src/libsystemd/sd-device -I ./src/libsystemd/sd-id128 -I ./src/libsystemd-network --sp-file coccinelle/strjoin.cocci --in-place $(git ls-files src/*.c)

git grep -e '\bstrjoin\b.*NULL' -l|xargs sed -i -r 's/strjoin\((.*), NULL\)/strjoin(\1)/'

This might have missed a few cases (spatch has a really hard time dealing
with _cleanup_ macros), but that's no big issue, they can always be fixed
later.
2016-10-23 11:43:27 -04:00
..
.gitignore import: introduce new mini-daemon systemd-importd, and make machinectl a client to it 2015-01-22 04:02:07 +01:00
curl-util.c tree-wide: use mfree more 2016-10-16 23:35:39 -04:00
curl-util.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
export-raw.c tree-wide: use mfree more 2016-10-16 23:35:39 -04:00
export-raw.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
export-tar.c tree-wide: use mfree more 2016-10-16 23:35:39 -04:00
export-tar.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
export.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
import-common.c treewide: use stdio_unset_cloexec() function 2016-07-02 23:42:01 +06:00
import-common.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
import-compress.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
import-compress.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
import-pubring.gpg import: add image verification using gpg 2015-01-21 04:03:54 +01:00
import-raw.c tree-wide: drop NULL sentinel from strjoin 2016-10-23 11:43:27 -04:00
import-raw.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
import-tar.c tree-wide: drop NULL sentinel from strjoin 2016-10-23 11:43:27 -04:00
import-tar.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
import.c import: don't log "fake" errno values 2016-07-22 21:25:09 -04:00
importd.c tree-wide: use mfree more 2016-10-16 23:35:39 -04:00
Makefile import: add new minimal tool "systemd-import" for pulling down foreign containers and install them locally 2014-12-19 02:08:14 +01:00
org.freedesktop.import1.conf importd: drop dkr support 2015-12-10 16:54:41 +01:00
org.freedesktop.import1.policy.in importd: add API for exporting container/VM images 2015-03-09 18:02:23 +01:00
org.freedesktop.import1.service import: introduce new mini-daemon systemd-importd, and make machinectl a client to it 2015-01-22 04:02:07 +01:00
pull-common.c treewide: use stdio_unset_cloexec() function 2016-07-02 23:42:01 +06:00
pull-common.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
pull-job.c tree-wide: use mfree more 2016-10-16 23:35:39 -04:00
pull-job.h import: drop unused definition 2016-04-12 13:43:29 +02:00
pull-raw.c tree-wide: use mfree more 2016-10-16 23:35:39 -04:00
pull-raw.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
pull-tar.c tree-wide: use mfree more 2016-10-16 23:35:39 -04:00
pull-tar.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
pull.c import: don't log "fake" errno values 2016-07-22 21:25:09 -04:00
qcow2-util.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
qcow2-util.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
test-qcow2.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00