Systemd/coccinelle
Zbigniew Jędrzejewski-Szmek de7fef4b6e tree-wide: use set_ensure_put()
Patch contains a coccinelle script, but it only works in some cases. Many
parts were converted by hand.

Note: I did not fix errors in return value handing. This will be done separate
to keep the patch comprehensible. No functional change is intended in this
patch.
2020-06-22 16:32:37 +02:00
..
bool-cast.cocci
close-above-stdio.cocci
cmp.cocci
const-strlen.disabled
debug-logging.cocci
div-round-up.cocci
dup-fcntl.cocci
empty-or-dash.cocci
empty-or-root.cocci
empty-to-null.cocci
empty-to-root.cocci
enotsup.cocci
equals-null.cocci
errno.cocci
exit-0.cocci
flags-set.cocci
fopen-unlocked.cocci
free_and_replace.cocci
hashmap_free.cocci
htonl.cocci
in_set.cocci
iovec-make.cocci
isempty.cocci
log-json.cocci
malloc_multiply.cocci
memzero.cocci
mfree.cocci
mfree_return.cocci
no-if-assignments.cocci
not_in_set.cocci
o-ndelay.cocci
reallocarray.cocci
redundant-if.cocci
run-coccinelle.sh
safe_close-no-if.cocci
safe_close.cocci
safe_closedir.cocci
safe_fclose.cocci
sd_event_source_disable_unref.cocci
set_ensure_put.cocci tree-wide: use set_ensure_put() 2020-06-22 16:32:37 +02:00
strempty.cocci
strjoin.cocci
strjoina.cocci
strv_free.cocci
swap-two.cocci
synthetic-errno.cocci
systemd-definitions.iso
take-fd.cocci
take-ptr.cocci
while-true.cocci
xsprintf.cocci