Re: [cocci] Improving output for single characters (with SmPL)?
From: Markus Elfring
Date: Sat Aug 01 2026 - 08:00:41 EST
>>> Markus_Elfring@Sonne:/home/altes_Heim2/elfring/Projekte/Linux/next-analyses> grep 'diff -u -p a/netlink_dumper.h b/netlink_dumper.h' /home/altes_Heim2/elfring/Projekte/Bau/Linux/scripts/Coccinelle/tuning1/next/20260721/use_fputc-bpftool-2.diff | wc -l
>>> 2
>>
>> How can the generation of duplicate difference output be avoided here
>> for other SmPL script variations?
>
> I don't know the details o what you are doing,
How does such a feedback fit to provided information?
> but if you have duplicated
> output about herder files, it would be because the header file is included
> in other files.
Duplicate difference hunks are not produced in all test cases.
Can you reproduce unexpected software behaviour also in your test environment?
Regards,
Markus