Systemd/src/machine
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 machined: introduce polkit for OpenLogin() call 2014-12-23 21:28:48 +01:00
image-dbus.c machined: "machinectl clean" can take a while, do it asynchronously from a background process 2016-06-24 16:01:14 +02:00
image-dbus.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
machine-dbus.c bus-util: generalize helper for ID128 prpoerties 2016-10-07 20:14:38 +02:00
machine-dbus.h machined: add new OpenRootDirectory() call to Machine objects 2016-04-25 15:24:46 +02:00
machine.c tree-wide: drop NULL sentinel from strjoin 2016-10-23 11:43:27 -04:00
machine.h machined: rework copy-from/copy-to operation to use generic Operation object 2016-05-02 11:17:06 +02:00
machinectl.c machinectl: enable pager on help (#4313) 2016-10-08 17:49:33 -04:00
machined-dbus.c tree-wide: use %m in calls to sd_bus_error_set_errnof 2016-09-13 20:10:57 -04:00
machined.c treewide: fix typos and remove accidental repetition of words 2016-07-11 16:18:43 +02:00
machined.h machined: run clone operation asynchronously in the background 2016-05-02 11:15:30 +02:00
Makefile machined: split out machine registration stuff from logind 2013-07-02 03:47:23 +02:00
operation.c tree-wide: use mfree more 2016-10-16 23:35:39 -04:00
operation.h machined: "machinectl clean" can take a while, do it asynchronously from a background process 2016-06-24 16:01:14 +02:00
org.freedesktop.machine1.conf machined: make sure CleanPool() method is opened up in the dbus policy 2016-06-24 16:03:49 +02:00
org.freedesktop.machine1.policy.in machine: policykit string fixes 2015-08-25 18:37:16 +02:00
org.freedesktop.machine1.service machined: split out machine registration stuff from logind 2013-07-02 03:47:23 +02:00
test-machine-tables.c tree-wide: sort includes 2015-11-16 22:09:36 +01:00