Skip site navigation (1) Skip section navigation (2)

Re: sparse (static analyzer) report

From: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
To: Mark Wong <markw(at)osdl(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: sparse (static analyzer) report
Date: 2005-01-15 04:26:07
Message-ID: 20050115042606.GB5541@dcc.uchile.cl (view raw or flat)
Thread:
Lists: pgsql-hackers
On Fri, Jan 14, 2005 at 05:50:30PM -0800, Mark Wong wrote:

> Yeah, I generate the file list to run sparse against with a
> "find . -name '*.c'".  So that's simple enough.  But flex and bison
> files don't end in .c, do they?

Generated files do.  I have a list of generated files here:

pl_gram.c
pl_scan.c
psqlscan.c
preproc.c
pgc.c
guc-file.c
fmgrtab.c
gram.c
scan.c
bootparse.c
bootscanner.c

Not sure how to skip them with find ... I think you can do that with
-regex but it's cumbersome.  Re: port, I think you can -prune it.

-- 
Alvaro Herrera (<alvherre[(at)]dcc(dot)uchile(dot)cl>)
Jude: I wish humans laid eggs
Ringlord: Why would you want humans to lay eggs?
Jude: So I can eat them

In response to

pgsql-hackers by date

Next:From: Brendan JurdDate: 2005-01-15 05:55:34
Subject: Re: Time span conversion function
Previous:From: Greg StarkDate: 2005-01-15 03:42:05
Subject: Re: [HACKERS] Much Ado About COUNT(*)

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group