summaryrefslogtreecommitdiff
path: root/coccinelle
AgeCommit message (Expand)AuthorFilesLines
2018-11-28tree-wide: more IOVEC_MAKE() conversionsLennart Poettering1-0/+5
2018-11-27tree-wide: use IOVEC_MAKE() at many placesLennart Poettering1-0/+24
2018-11-26tree-wide: use SWAP_TWO a bit moreLennart Poettering1-0/+7
2018-11-22coccinelle: also mark previous synthetic errnos as suchZbigniew Jędrzejewski-Szmek1-0/+7
2018-11-22coccinelle: make use of SYNTHETIC_ERRNOZbigniew Jędrzejewski-Szmek1-0/+35
2018-11-16cocci: simplify some if checksLennart Poettering1-0/+54
2018-10-16tree-wide: CMP()ify all the thingsLennart Poettering1-0/+28
2018-06-13tree-wide: drop !! casts to booleansZbigniew Jędrzejewski-Szmek1-0/+12
2018-06-13cocinelle: use GNU parallel to run spatchZbigniew Jędrzejewski-Szmek1-2/+8
2018-06-07tools: make various scripts find the top-levle git dir automaticallyLennart Poettering1-1/+2
2018-06-04Add macro for checking if some flags are setZbigniew Jędrzejewski-Szmek1-0/+15
2018-06-04coccinelle: add option to make changes in placeZbigniew Jędrzejewski-Szmek1-2/+10
2018-06-04coccinelle: run spatch just on version-controlled filesZbigniew Jędrzejewski-Szmek1-2/+5
2018-04-18util-lib: introduce new empty_or_root() helper (#8746)Lennart Poettering1-0/+10
2018-04-02coccinelle: fix typo in file name (#8640)Alexander Kurtz1-0/+0
2018-03-23run-coccinelle.sh: use set -x for showing command line of "spatch"Lennart Poettering1-4/+3
2018-03-22macro: introduce new TAKE_FD() macroLennart Poettering1-0/+14
2018-03-22macro: introduce TAKE_PTR() macroLennart Poettering1-0/+14
2018-03-20coccinelle: always use fcntl(fd, FD_DUPFD, 3) instead of dup(fd)Lennart Poettering1-0/+5
2018-03-20coccinelle: make use of DIV_ROUND_UP() wherever appropriateLennart Poettering1-0/+20
2018-03-02coccinelle: similar to reallocarray() let's also systematically use malloc_mu...Lennart Poettering1-0/+20
2018-03-02coccinelle: add reallocarray() coccinelle scriptLennart Poettering1-0/+20
2018-02-28coccinelle: slightly improve run-coccinelle.shLennart Poettering1-2/+2
2018-02-28util: add new safe_close_above_stdio() wrapperLennart Poettering1-0/+36
2018-02-27coccinelle: drop empty-if.cocci scriptLennart Poettering2-57/+0
2018-01-24coccinelle: O_NDELAY → O_NONBLOCKLennart Poettering1-0/+4
2018-01-11cocci: there's not ENOTSUP, there's only EOPNOTSUPPLennart Poettering1-0/+4
2018-01-10cocci: use strempty() at more placesLennart Poettering1-0/+38
2017-12-25tree-wide: use EXIT_SUCCESS/EXIT_FAILURE in exit() where we canLennart Poettering1-0/+16
2017-12-23coccinelle: beef up isempty() checks (#7729)Lennart Poettering1-0/+45
2017-12-15tree-wide: add DEBUG_LOGGING macro that checks whether debug logging is on (#...Lennart Poettering1-0/+8
2017-12-14coccinelle: automatically rewrite memset() to zero() or memzero() where we canLennart Poettering1-0/+30
2017-12-14tree-wide: make use of new STRLEN() macro everywhere (#7639)Lennart Poettering1-0/+10
2017-12-11tree-wide: drop a few == NULL and != NULL comparisonLennart Poettering1-0/+14
2017-12-07core: use empty_to_null() where we canLennart Poettering1-0/+5
2017-12-07coccinelle: improve run-coccinelle.sh to take list of scripts to runLennart Poettering1-1/+1
2017-11-29coccinelle: add a run-coccinelle.sh script that runs all scriptsLennart Poettering1-0/+11
2017-11-29coccinelle: fix IN_SET/!IN_SET scripts, and apply some changes it foundLennart Poettering2-130/+56
2017-11-29tree-wide: use strv_isempty() instead of strv_length() == 0Lennart Poettering1-0/+15
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