Quoting Justus Winter (2014-11-07 15:41:43) > The reason why I want it is: > > % git grep EOPNOTSUPP|wc --lines > 1071
Better:
% spatch --smpl-spacing --sp-file refactor/eopnotsupp.cocci --dir . | grep
EOPNOTSUPP | wc --lines
269
So 269 functions matching the following ad-hoc coccinelle patch:
@@
type T;
identifier F;
@@
-T F(...)
-{
- return EOPNOTSUPP;
-}
Justus
