summaryrefslogtreecommitdiff
path: root/coccinelle
AgeCommit message (Expand)Author
2018-06-13tree-wide: drop !! casts to booleansZbigniew Jędrzejewski-Szmek
2018-06-13cocinelle: use GNU parallel to run spatchZbigniew Jędrzejewski-Szmek
2018-06-07tools: make various scripts find the top-levle git dir automaticallyLennart Poettering
2018-06-04Add macro for checking if some flags are setZbigniew Jędrzejewski-Szmek
2018-06-04coccinelle: add option to make changes in placeZbigniew Jędrzejewski-Szmek
2018-06-04coccinelle: run spatch just on version-controlled filesZbigniew Jędrzejewski-Szmek
2018-04-18util-lib: introduce new empty_or_root() helper (#8746)Lennart Poettering
2018-04-02coccinelle: fix typo in file name (#8640)Alexander Kurtz
2018-03-23run-coccinelle.sh: use set -x for showing command line of "spatch"Lennart Poettering
2018-03-22macro: introduce new TAKE_FD() macroLennart Poettering
2018-03-22macro: introduce TAKE_PTR() macroLennart Poettering
2018-03-20coccinelle: always use fcntl(fd, FD_DUPFD, 3) instead of dup(fd)Lennart Poettering
2018-03-20coccinelle: make use of DIV_ROUND_UP() wherever appropriateLennart Poettering
2018-03-02coccinelle: similar to reallocarray() let's also systematically use malloc_mu...Lennart Poettering
2018-03-02coccinelle: add reallocarray() coccinelle scriptLennart Poettering
2018-02-28coccinelle: slightly improve run-coccinelle.shLennart Poettering
2018-02-28util: add new safe_close_above_stdio() wrapperLennart Poettering
2018-02-27coccinelle: drop empty-if.cocci scriptLennart Poettering
2018-01-24coccinelle: O_NDELAY → O_NONBLOCKLennart Poettering
2018-01-11cocci: there's not ENOTSUP, there's only EOPNOTSUPPLennart Poettering
2018-01-10cocci: use strempty() at more placesLennart Poettering
2017-12-25tree-wide: use EXIT_SUCCESS/EXIT_FAILURE in exit() where we canLennart Poettering
2017-12-23coccinelle: beef up isempty() checks (#7729)Lennart Poettering
2017-12-15tree-wide: add DEBUG_LOGGING macro that checks whether debug logging is on (#...Lennart Poettering
2017-12-14coccinelle: automatically rewrite memset() to zero() or memzero() where we canLennart Poettering
2017-12-14tree-wide: make use of new STRLEN() macro everywhere (#7639)Lennart Poettering
2017-12-11tree-wide: drop a few == NULL and != NULL comparisonLennart Poettering
2017-12-07core: use empty_to_null() where we canLennart Poettering
2017-12-07coccinelle: improve run-coccinelle.sh to take list of scripts to runLennart Poettering
2017-11-29coccinelle: add a run-coccinelle.sh script that runs all scriptsLennart Poettering
2017-11-29coccinelle: fix IN_SET/!IN_SET scripts, and apply some changes it foundLennart Poettering
2017-11-29tree-wide: use strv_isempty() instead of strv_length() == 0Lennart Poettering
2017-10-02tree-wide: use `!IN_SET(..)` for `a != b && a != c && …`Andreas Rammhold
2017-10-02tree-wide: use IN_SET where possibleAndreas Rammhold
2016-10-23tree-wide: drop NULL sentinel from strjoinZbigniew Jędrzejewski-Szmek
2016-10-16tree-wide: introduce free_and_replace helperZbigniew Jędrzejewski-Szmek
2016-10-16tree-wide: use mfree moreZbigniew Jędrzejewski-Szmek
2016-06-15tree-wide: htonl() is weird, let's use htobe32() instead (#3538)Lennart Poettering
2016-04-13tree-wide: remove useless NULLs from strjoinaZbigniew Jędrzejewski-Szmek
2016-01-12tree-wide: use xsprintf() where applicableDaniel Mack
2015-11-09coccinelle: additional errno.cocci hunkMichal Schmidt
2015-11-09coccinelle: errno.cocci improvementsMichal Schmidt
2015-09-30Add Coccinelle patch for strempty() usageDaniel Mack
2015-09-22util: add safe_closedir() similar to safe_fclose()Lennart Poettering
2015-09-09tree-wide: take benefit of the fact that hashmap_free() returns NULLLennart Poettering
2015-09-09tree-wide: make use of the fact that strv_free() returns NULLLennart Poettering
2015-09-09Merge pull request #1218 from poettering/safe-fcloseDaniel Mack
2015-09-09util: introduce safe_fclose() and port everything over to itLennart Poettering
2015-09-09tree-wide: replace while(1) by for(;;) everywhereLennart Poettering
2015-09-09tree-wide: update empty-if coccinelle script to cover empty-while and moreLennart Poettering