Skip to Content.
Sympa Menu

freetds - Re: Crash in tsql

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • 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."

=================================




Archive powered by MHonArc 2.6.24.

Top of Page