bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH mig] Provide default implementations for server functions


From: Justus Winter
Subject: Re: [PATCH mig] Provide default implementations for server functions
Date: Fri, 07 Nov 2014 15:48:57 +0100
User-agent: alot/0.3.5

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]