freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "Ruslan R. Laishev" <Laishev AT SMTP.DeltaTel.RU>
- To: TDS Development Group <freetds AT franklin.oit.unc.edu>
- Cc: James Cameron <cameron AT stl.dec.com>
- Subject: Re: FreeTDS under VMS (changes suggestion)
- Date: Sun, 19 Nov 2000 17:04:28 +0300
Hi All!
Sorry, I forgot:
TOKEN.C:
static int tds_process_col_name(TDSSOCKET *tds)
{
...
struct tmp_col_struct {
char *column_name;
--> char column_namelen;
struct tmp_col_struct *next;
};
...
for (col=0;col<info->num_cols;col++)
{
curcol=info->columns[col];
strncpy(curcol->column_name, cur->column_name,
sizeof(curcol->column_name));
--> curcol->column_namelen = cur->column_namelen;
prev=cur; cur=cur->next;
free(prev->column_name);
free(prev);
}
...
for (col=0;col<info->num_cols;col++)
{
curcol=info->columns[col];
strncpy(curcol->column_name, cur->column_name,
sizeof(curcol->column_name));
--> curcol->column_namelen = cur->column_namelen;
prev=cur; cur=cur->next;
free(prev->column_name);
free(prev);
}
--
Cheers.
+------------------pure personal opinion-----------------------+
RADIUS Server for OpenVMS project - www.radiusvms.com
www.DLS.net - Connecting with Care!
vms-isps AT dls.net - Forum for ISP running OpenVMS
-
FreeTDS under VMS (changes suggestion),
Ruslan R. Laishev, 11/19/2000
- Re: FreeTDS under VMS (changes suggestion), James Cameron, 11/19/2000
- <Possible follow-up(s)>
- Re: FreeTDS under VMS (changes suggestion), Ruslan R. Laishev, 11/19/2000
- Re: FreeTDS under VMS (changes suggestion), Ruslan R. Laishev, 11/19/2000
- Re: FreeTDS under VMS (changes suggestion), Mark Schaal, 11/20/2000
- Re: FreeTDS under VMS (changes suggestion), James Cameron, 11/20/2000
- Re: FreeTDS under VMS (changes suggestion), Brian Bruns, 11/20/2000
Archive powered by MHonArc 2.6.24.