summaryrefslogtreecommitdiffstats
path: root/coccinelle (follow)
Commit message (Expand)AuthorAgeFilesLines
* tree-wide: drop !! casts to booleansZbigniew Jędrzejewski-Szmek2018-06-131-0/+12
* cocinelle: use GNU parallel to run spatchZbigniew Jędrzejewski-Szmek2018-06-131-2/+8
* tools: make various scripts find the top-levle git dir automaticallyLennart Poettering2018-06-071-1/+2
* Add macro for checking if some flags are setZbigniew Jędrzejewski-Szmek2018-06-041-0/+15
* coccinelle: add option to make changes in placeZbigniew Jędrzejewski-Szmek2018-06-041-2/+10
* coccinelle: run spatch just on version-controlled filesZbigniew Jędrzejewski-Szmek2018-06-041-2/+5
* util-lib: introduce new empty_or_root() helper (#8746)Lennart Poettering2018-04-181-0/+10
* coccinelle: fix typo in file name (#8640)Alexander Kurtz2018-04-021-0/+0
* run-coccinelle.sh: use set -x for showing command line of "spatch"Lennart Poettering2018-03-231-4/+3
* macro: introduce new TAKE_FD() macroLennart Poettering2018-03-221-0/+14
* macro: introduce TAKE_PTR() macroLennart Poettering2018-03-221-0/+14
* coccinelle: always use fcntl(fd, FD_DUPFD, 3) instead of dup(fd)Lennart Poettering2018-03-201-0/+5
* coccinelle: make use of DIV_ROUND_UP() wherever appropriateLennart Poettering2018-03-201-0/+20
* coccinelle: similar to reallocarray() let's also systematically use malloc_mu...Lennart Poettering2018-03-021-0/+20
* coccinelle: add reallocarray() coccinelle scriptLennart Poettering2018-03-021-0/+20
* coccinelle: slightly improve run-coccinelle.shLennart Poettering2018-02-281-2/+2
* util: add new safe_close_above_stdio() wrapperLennart Poettering2018-02-281-0/+36
* coccinelle: drop empty-if.cocci scriptLennart Poettering2018-02-272-57/+0
* coccinelle: O_NDELAY → O_NONBLOCKLennart Poettering2018-01-241-0/+4
* cocci: there's not ENOTSUP, there's only EOPNOTSUPPLennart Poettering2018-01-111-0/+4
* cocci: use strempty() at more placesLennart Poettering2018-01-101-0/+38
* tree-wide: use EXIT_SUCCESS/EXIT_FAILURE in exit() where we canLennart Poettering2017-12-251-0/+16
* coccinelle: beef up isempty() checks (#7729)Lennart Poettering2017-12-231-0/+45
* tree-wide: add DEBUG_LOGGING macro that checks whether debug logging is on (#...Lennart Poettering2017-12-151-0/+8
* coccinelle: automatically rewrite memset() to zero() or memzero() where we canLennart Poettering2017-12-141-0/+30
* tree-wide: make use of new STRLEN() macro everywhere (#7639)Lennart Poettering2017-12-141-0/+10
* tree-wide: drop a few == NULL and != NULL comparisonLennart Poettering2017-12-111-0/+14
* core: use empty_to_null() where we canLennart Poettering2017-12-071-0/+5
* coccinelle: improve run-coccinelle.sh to take list of scripts to runLennart Poettering2017-12-071-1/+1
* coccinelle: add a run-coccinelle.sh script that runs all scriptsLennart Poettering2017-11-291-0/+11
* coccinelle: fix IN_SET/!IN_SET scripts, and apply some changes it foundLennart Poettering2017-11-292-130/+56
* tree-wide: use strv_isempty() instead of strv_length() == 0Lennart Poettering2017-11-291-0/+15
* tree-wide: use `!IN_SET(..)` for `a != b && a != c && …`Andreas Rammhold2017-10-021-0/+147
* tree-wide: use IN_SET where possibleAndreas Rammhold2017-10-021-0/+35
* tree-wide: drop NULL sentinel from strjoinZbigniew Jędrzejewski-Szmek2016-10-231-0/+16
* tree-wide: introduce free_and_replace helperZbigniew Jędrzejewski-Szmek2016-10-171-0/+15
* tree-wide: use mfree moreZbigniew Jędrzejewski-Szmek2016-10-171-0/+6
* tree-wide: htonl() is weird, let's use htobe32() instead (#3538)Lennart Poettering2016-06-151-0/+20
* tree-wide: remove useless NULLs from strjoinaZbigniew Jędrzejewski-Szmek2016-04-131-0/+6
* tree-wide: use xsprintf() where applicableDaniel Mack2016-01-121-0/+6
* coccinelle: additional errno.cocci hunkMichal Schmidt2015-11-091-0/+7
* coccinelle: errno.cocci improvementsMichal Schmidt2015-11-091-36/+13
* Add Coccinelle patch for strempty() usageDaniel Mack2015-09-301-0/+10
* util: add safe_closedir() similar to safe_fclose()Lennart Poettering2015-09-221-0/+27
* tree-wide: take benefit of the fact that hashmap_free() returns NULLLennart Poettering2015-09-091-0/+54
* tree-wide: make use of the fact that strv_free() returns NULLLennart Poettering2015-09-091-0/+27
* Merge pull request #1218 from poettering/safe-fcloseDaniel Mack2015-09-091-0/+27
|\
| * util: introduce safe_fclose() and port everything over to itLennart Poettering2015-09-091-0/+27
* | tree-wide: replace while(1) by for(;;) everywhereLennart Poettering2015-09-091-0/+12
* | tree-wide: update empty-if coccinelle script to cover empty-while and moreLennart Poettering2015-09-091-5/+42