Skip to Content.
Sympa Menu

freetds - Re: Minor update to remove warning

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Mark Schaal <mark AT champ.tstonramp.com>
  • To: freetds AT franklin.oit.unc.edu
  • Subject: Re: Minor update to remove warning
  • Date: Tue, 5 Oct 1999 10:42:52 -0700 (PDT)


>
>
> Mark,
>
> Quick question, should the setting of the local stuff be a copy instead of
> a pointer assignment? We had this problem in USERDATA and decided that
> "buffer" is not a permanent address.
>
> Brian

I think it probably should copy the data into the tds_login structure,
except that only has the language and char_set locale attributes. Since
cs_loc_alloc() never creates a CS_LOCALE and since there is never a (CS_GET,
CS_LOC_PROP) passed to ct_con_props() by DBD::Sybase it shouldn't matter.
I wasn't trying to implement it, just get rid of the warning message and
leave things a little better off for the next person who works on it.

Mark
--
Mark J. Schaal Phone: (909) 620-7724
TST On Ramp Fax: (909) 620-8174
System Administrator E-Mail: mark AT tstonramp.com




Archive powered by MHonArc 2.6.24.

Top of Page