Wireshark-dev: Re: [Wireshark-dev] [Wireshark-commits] rev 23601: /trunk/ /trunk/: capture_loop
From: Jeff Morriss <[email protected]>
Date: Mon, 26 Nov 2007 13:29:11 -0500

Sake Blok wrote:
On Mon, Nov 26, 2007 at 04:40:18PM +0000, [email protected] wrote:
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=23601

User: morriss
Date: 2007/11/26 04:40 PM

Log:
 Change (yet another--I really need to find a way to automate finding these things) open() to eth_open() to fix http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1987

How about using :

fgrep -Ri --include "*.[ch]" --exclude "*svn*" " open(" *

(while the root of the trunk)
I *thought* I had tried something along those lines before (while 
working on bug 1827) but apparently I got it wrong.  Or maybe I hadn't 
had any coffee at the time?
But, while writing this email, I remembered the "checkAPIs" tool I 
submitted a while back and simply added 'open' and friends to the list 
of "prohibited APIs" and then ran the tool on all the source.  I'll 
check in the results shortly.  :-)