Code auditing

Phil Edwards pedwards@disaster.jaj.com
Tue Jan 8 10:12:00 GMT 2002


On Fri, Jan 04, 2002 at 10:39:24PM +0000, Nathan Myers wrote:
> According to the (then) header policy all the files with any real
> code in them should have had a filename extension of ".h", ".cc",
> or ".tcc", so those were the files I scanned.  It turns out that 
> there were already files in the library in violation of the policy, 
> so I missed scanning those.

And they were...?


> I don't know how I would construct the "find" 
> command to repeat such a scan.  

Off the top of my head,

    find config include lib* src -type f ! -name "Makefile*" -print

before or after any header-shuffling patches.


Phil

-- 
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace.  We seek
not your counsel, nor your arms.  Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen.            - Samuel Adams



More information about the Libstdc++ mailing list