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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-hackers by date

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