Again, I am missing some context.
I dare another repetition.
-------- Original Message --------
Date: Fri, 02 Dec 2011 23:35:51 +0100
> If you remove the space between "<+" and "..." your example works just fine.
I have adjusted my formatting mistake. I try Coccinelle's capabilities out a bit
more. But I wonder why the functions "printf" and "signal" are not found by the
suggested source code filter approach while a couple of other functions are marked.
See also a bug report like "Completion of error handling":
http://sourceforge.net/tracker/index.php?func=detail&aid=3440252&group_id=153444&atid=787791
elfring@Sonne:~/Projekte/Geany/lokal> LANG=C && P=../pattern1.cocci &&
INCLUDES='-I /usr/include -I /usr/lib64/gcc/x86_64-suse-linux/4.6/include -I
/usr/include/gtk-2.0 -I /usr/include/gail-1.0 -I /usr/include/glib-2.0 -I
/usr/include/gio-unix-2.0 -I /usr/include/scintilla -all_includes' && spatch
-sp_file $P src/log.c $INCLUDES > Test1.txt && spatch -sp_file $P src/main.c
$INCLUDES > Test2.txt
Is my parameter list complete enough for this command?
Regards,
Markus
_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)