freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: ZIGLIO Frediano <Frediano.Ziglio AT vodafoneomnitel.it>
- To: "'TDS Development Group'" <freetds AT franklin.metalab.unc.edu>
- Subject: Re: Crash in tsql
- Date: Mon, 12 Aug 2002 16:49:13 +0200
>
> Actually, this fix is bad, since we don't distribute config.h
> (nor should
> we) things won't build. If we don't do it in the header file
> however, we
> are in trouble of having mismatched structure definitions. We didn't
> really notice it before because iconv_t cdto, cdfrom was the
> last entry.
>
> We simply can't be checking HAVE_ICONV in tds.h (or any distributable
> header). We could substitute from configure but that strikes me as
> sloppy. Any other options?
>
> Brian
>
We can just separate between public and private fields. Public should be
kept before private and can be accessed either by program and libraries.
Public code shouldn't also allocate structures from itself.
Another method is to make a private header to hold tds private structure
(such as TDSSOCKET) and public access private members only by function (such
as tds_set_parent).
freddy77
=================================
"STRICTLY PERSONAL AND CONFIDENTIAL
This message may contain confidential and proprietary material for the sole
use of the intended recipient. Any review or distribution by others is
strictly prohibited. If you are not the intended recipient please contact
the sender and delete all copies.
The contents of this message that do not relate to the official business of
our company shall be understood as neither given nor endorsed by it."
=================================
-
Crash in tsql,
Frediano Ziglio, 08/11/2002
- <Possible follow-up(s)>
- Re: Crash in tsql, Brian Bruns, 08/11/2002
- Re: Crash in tsql, freddyz77, 08/11/2002
- Re: Crash in tsql, Brian Bruns, 08/11/2002
- Re: Crash in tsql, Brian Bruns, 08/12/2002
- Re: Crash in tsql, ZIGLIO Frediano, 08/12/2002
- Re: Crash in tsql, Coleman, Dave, 08/13/2002
- Re: Crash in tsql, Lowden, James K, 08/13/2002
- Re: Crash in tsql, Brian Bruns, 08/13/2002
- Re: Crash in tsql, Lowden, James K, 08/13/2002
- Re: Crash in tsql, Varley, David(CBorn at Alcoa), 08/13/2002
- Re: Crash in tsql, Varley, David(CBorn at Alcoa), 08/14/2002
- Re: Crash in tsql, Brian Bruns, 08/14/2002
- Re: Crash in tsql, Varley, David(CBorn at Alcoa), 08/14/2002
- Re: Crash in tsql, Frediano Ziglio, 08/14/2002
- Re: Crash in tsql, Brian Bruns, 08/15/2002
Archive powered by MHonArc 2.6.24.