Hmm will it find a member that has more than one strcpy lines with and without 
void? Grep would but i don't think a Google search would .
-- 
Bruce

Conrad Dean <conrad.p.d...@gmail.com> wrote:

+1

On Fri, Mar 30, 2012 at 9:59 AM, Bruce Furber <bfur...@comcast.net> wrote:

try   

 

strcpy AND NOT "void strcpy"

 

http://src.opensolaris.org/source/search?q=strcpy+AND+NOT+%22void+strcpy%22&project=onnv&defs=&refs=&path=&hist=

_____________________________________________


I wonder if it is possible to do negative proximity search - e.g. I'd 
like to search for all calls to strcpy() which do not have the (void) 
cast before them. Tried things like:

   "void strcpy"~NOT 1

in the full search but it does not seem to do the trick.


_______________________________________________
opengrok-discuss mailing list
opengrok-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opengrok-discuss


_______________________________________________
opengrok-discuss mailing list
opengrok-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opengrok-discuss

Reply via email to