summaryrefslogtreecommitdiff
path: root/coccinelle
AgeCommit message (Expand)AuthorFilesLines
2019-07-16tree-wide: use empty-to-root a bit moreLennart Poettering1-0/+11
2019-05-10Use sd_event_source_disable_unref()Zbigniew Jędrzejewski-Szmek1-0/+36
2019-04-30coccinelle: further restrict certain transformationsFrantisek Sumsal5-55/+46
2019-04-30coccinelle: exclude JsonVariant* from the IN_SET transformationFrantisek Sumsal2-67/+30
2019-04-29coccinelle: exclude certain paths from the transformationsFrantisek Sumsal1-2/+17
2019-04-29coccinelle: ignore function transformations causing recursionFrantisek Sumsal3-22/+39
2019-04-28coccinelle: ignore macro transformations in the macros themselvesFrantisek Sumsal3-0/+20
2019-04-27coccinelle: avoid matching 'errno' as a file descriptorFrantisek Sumsal1-1/+8
2019-04-27coccinelle: add explicit statement isomorphismsFrantisek Sumsal2-1/+22
2019-04-12Merge pull request #12217 from keszybz/unlocked-operationsLennart Poettering1-0/+71
2019-04-12Add open_memstream_unlocked() wrapperZbigniew Jędrzejewski-Szmek1-0/+8
2019-04-12Add fdopen_unlocked() wrapperZbigniew Jędrzejewski-Szmek1-0/+12
2019-04-12Make fopen_temporary and fopen_temporary_label unlockedZbigniew Jędrzejewski-Szmek1-0/+14
2019-04-12Add fopen_unlocked() wrapperZbigniew Jędrzejewski-Szmek1-0/+37
2019-04-12scripts: use 4 space indentationZbigniew Jędrzejewski-Szmek1-13/+13
2019-04-08coccinelle: add coccinelle script for empty_or_dash() useLennart Poettering1-0/+5
2019-03-21nspawn-oci: use SYNTHETIC_ERRNOZbigniew Jędrzejewski-Szmek1-0/+8
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