Hi,

Yesterday Stuart posted on openbsd-ports mailing list
http://marc.info/?l=openbsd-ports&m=130463274817335&w=2
and I downloaded his work and tried it out on OpenBSD amd64.

I built the port and exactly like him when I do the following, I get
following error.

# spatch -debug -sp_file demos/simple.cocci demos/simple.c
init_defs_builtins: /usr/local/share/coccinelle/standard.h
-----------------------------------------------------------------------
processing semantic patch file: demos/simple.cocci
with isos from: /usr/local/share/coccinelle/standard.iso
-----------------------------------------------------------------------
@@ expression E; @@

- f(E);
+ f(E,3);


HANDLING: demos/simple.c
No matches found for f
Skipping:demos/simple.c
Check duplication for 1 files
grep failed: egrep -q '(\bf\b)' demos/simple.c

Can anybody guess what's wrong after seeing the grep failed message?
Although it might be strange to see OpenBSD specific stuff to be
asked, I thought somebody might see the problem right away.

I tried to run verbose subsystem options but they were not useful,
only -debug was useful.

Thanks
_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)

Reply via email to