Willy,
I wanted to build a simple reproducer for the "ist in struct" issue to post
on the Coccinelle list and found that it worked if all structs are defined
in the same .c file. Searching the list archives then revealed the
--include-headers-for-types
flag which fixes the issue we're seeing.
I've fixed a bug in the ist.cocci, reapplied it on the whole tree and then
turned the bugfix into another rule and applied that one.
Best regards
Tim Duesterhus (4):
DEV: coccinelle: Fix incorrect replacement in ist.cocci
CLEANUP: Reapply ist.cocci with `--include-headers-for-types
--recursive-includes`
DEV: coccinelle: Add a new pattern to ist.cocci
CLEANUP: Reapply ist.cocci
dev/coccinelle/ist.cocci | 6 ++++++
src/cache.c | 2 +-
src/fcgi.c | 12 ++++--------
src/flt_http_comp.c | 12 ++++++------
src/h1.c | 6 ++----
src/h2.c | 6 +++---
src/http_act.c | 15 +++++----------
src/http_fetch.c | 2 +-
src/http_htx.c | 10 ++++------
src/log.c | 2 +-
src/mux_fcgi.c | 10 +++++-----
src/mux_h1.c | 2 +-
src/sink.c | 2 +-
src/tcpcheck.c | 2 +-
14 files changed, 41 insertions(+), 48 deletions(-)
--
2.35.1