summaryrefslogtreecommitdiff
path: root/coccinelle
Commit message (Expand)AuthorAgeFilesLines
* 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-161-0/+15
* tree-wide: use mfree moreZbigniew Jędrzejewski-Szmek2016-10-161-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
* | tree-wide: make use of log_error_errno() return value in more casesLennart Poettering2015-09-091-18/+24
|/
* tree-wide: drop {} from one-line if blocksLennart Poettering2015-09-091-0/+19
* tree-wide: make use of log_error_errno() return valueLennart Poettering2015-09-091-0/+42
* tree-wide: don't do assignments within if checksLennart Poettering2015-09-091-0/+20
* tree-wide: drop redundant if checks before safe_close()Lennart Poettering2015-09-091-0/+7
* tree-wide: make more code use safe_close()Lennart Poettering2015-09-091-0/+18
* tree-wide: use coccinelle to patch a lot of code to use mfree()Lennart Poettering2015-09-091-0/+6