freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Sam Denton <denton AT wantec.com>
- To: 'TDS Development Group' <freetds AT franklin.oit.unc.edu>
- Subject: Re: Coding style document
- Date: Thu, 13 Jun 2002 17:18:43 -0500
Without looking at the code, there are lots of cases where one wants to
store function pointers in an array or something. To avoid typecasts, you
need to give the functions the same signature, and learn to live with the
compiler's complaints about unused parameters.
As for an earlier note about variable names, I can only refer you to this:
http://slashdot.org/comments.pl?sid=33602&cid=3638879
Sam Denton, WAN Technologies, Inc.
(314) 428-0888 / (800) 926-7771 Main Office
-----Original Message-----
From: Lowden, James K [mailto:LowdenJK AT bernstein.com]
Sent: Thursday, June 13, 2002 2:34 PM
To: TDS Development Group
Subject: [freetds] Re: Coding style document
> 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
---
You are currently subscribed to freetds as: [denton AT wantec.com]
To unsubscribe, forward this message to
$subst('Email.Unsub')
-
Coding style document,
Brian Bruns, 06/13/2002
- <Possible follow-up(s)>
- Re: Coding style document, Bill Thompson, 06/13/2002
- Re: Coding style document, Lowden, James K, 06/13/2002
- Re: Coding style document, Bill Thompson, 06/13/2002
- Re: Coding style document, Brian Bruns, 06/13/2002
- Re: Coding style document, Brian Bruns, 06/13/2002
- Re: Coding style document, Brian Bruns, 06/13/2002
- Re: Coding style document, Dossy, 06/13/2002
- Re: Coding style document, Lowden, James K, 06/13/2002
- Re: Coding style document, Dossy, 06/13/2002
- Re: Coding style document, Sam Denton, 06/13/2002
- Re: Coding style document, James K . Lowden, 06/13/2002
- Re: Coding style document, James K . Lowden, 06/13/2002
- Re: Coding style document, Winkless, Geoff, 06/14/2002
- Re: Coding style document, Dossy, 06/14/2002
- Re: Coding style document, ZIGLIO Frediano, 06/14/2002
- Re: Coding style document, Brian Bruns, 06/14/2002
- Re: Coding style document, James K . Lowden, 06/16/2002
Archive powered by MHonArc 2.6.24.