Skip to Content.
Sympa Menu

freetds - Re: Coding style document

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Lowden, James K" <LowdenJK AT bernstein.com>
  • To: "'TDS Development Group'" <freetds AT franklin.metalab.unc.edu>
  • Subject: Re: Coding style document
  • Date: Thu, 13 Jun 2002 15:33:39 -0400


> From: Dossy [mailto:dossy AT panoptic.com]
> Sent: June 13, 2002 1:59 PM
>
> Invest in setting up GNU indent. Figure out what all the necessary
> switches are to conform to your Coding Style, then just run all
> the code through it.

Maybe we should do that. I went over some of the code with lint(1)
recently, and it wasn't pretty! I mean to go back and find more of lint's
complaints and fix them. As long as the code is being massaged for
nonfunctional reasons, it might as well be reformatted at the same time.

Brian, on that point, many functions in tds/convert.c pass "src" or "dest"
unnecessarily. It's as though at one point there might have been an
intention to make all the conversion functions conform to a single
signature. Was there any such goal? If not, I'd like to remove the unused
parameters.

--jkl




Archive powered by MHonArc 2.6.24.

Top of Page