summaryrefslogtreecommitdiff
path: root/coccinelle
AgeCommit message (Expand)AuthorFilesLines
2017-10-02tree-wide: use `!IN_SET(..)` for `a != b && a != c && …`Andreas Rammhold1-0/+147
2017-10-02tree-wide: use IN_SET where possibleAndreas Rammhold1-0/+35
2016-10-23tree-wide: drop NULL sentinel from strjoinZbigniew Jędrzejewski-Szmek1-0/+16
2016-10-16tree-wide: introduce free_and_replace helperZbigniew Jędrzejewski-Szmek1-0/+15
2016-10-16tree-wide: use mfree moreZbigniew Jędrzejewski-Szmek1-0/+6
2016-06-15tree-wide: htonl() is weird, let's use htobe32() instead (#3538)Lennart Poettering1-0/+20
2016-04-13tree-wide: remove useless NULLs from strjoinaZbigniew Jędrzejewski-Szmek1-0/+6
2016-01-12tree-wide: use xsprintf() where applicableDaniel Mack1-0/+6
2015-11-09coccinelle: additional errno.cocci hunkMichal Schmidt1-0/+7
2015-11-09coccinelle: errno.cocci improvementsMichal Schmidt1-36/+13
2015-09-30Add Coccinelle patch for strempty() usageDaniel Mack1-0/+10
2015-09-22util: add safe_closedir() similar to safe_fclose()Lennart Poettering1-0/+27
2015-09-09tree-wide: take benefit of the fact that hashmap_free() returns NULLLennart Poettering1-0/+54
2015-09-09tree-wide: make use of the fact that strv_free() returns NULLLennart Poettering1-0/+27
2015-09-09Merge pull request #1218 from poettering/safe-fcloseDaniel Mack1-0/+27
2015-09-09util: introduce safe_fclose() and port everything over to itLennart Poettering1-0/+27
2015-09-09tree-wide: replace while(1) by for(;;) everywhereLennart Poettering1-0/+12
2015-09-09tree-wide: update empty-if coccinelle script to cover empty-while and moreLennart Poettering1-5/+42
2015-09-09tree-wide: make use of log_error_errno() return value in more casesLennart Poettering1-18/+24
2015-09-09tree-wide: drop {} from one-line if blocksLennart Poettering1-0/+19
2015-09-09tree-wide: make use of log_error_errno() return valueLennart Poettering1-0/+42
2015-09-09tree-wide: don't do assignments within if checksLennart Poettering1-0/+20
2015-09-09tree-wide: drop redundant if checks before safe_close()Lennart Poettering1-0/+7
2015-09-09tree-wide: make more code use safe_close()Lennart Poettering1-0/+18
2015-09-09tree-wide: use coccinelle to patch a lot of code to use mfree()Lennart Poettering1-0/+6