freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Frediano Ziglio <freddyz77 AT tin.it>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] ODBC Fix
- Date: 26 Mar 2003 22:18:57 +0100
Il mer, 2003-03-26 alle 21:21, Brian_Teravskis AT cargill.com ha scritto:
> Hello Freddy,
>
> Hmmm.. That is odd... I checked my source tree for freetds 0.61 and I
> checked the 'Nightly Snapshot' source (0.62 20030325) downloaded to day
> and both files had the p instead of &p.
>
> Just to clarify:
>
> >From my 0.61 sources:
>
> Filename: freetds-0.61/src/odbc/connectparams.c
> Version: static char software_version[] = "$Id: connectparams.c,v 1.33
> 2003/01/04 13:06:57 freddy77 Exp $";
> Line number: 317
> Line Text: if (vasprintf(&fn, "%s/.odbc.ini", p) > 0)
> {
>
>
> >From the 'Nightly Snapshot:
>
> Filename: freetds-0.62.dev.20030325/src/odbc/connectparams.c
> Version: static char software_version[] = "$Id: connectparams.c,v 1.34
> 2003/03/23 20:13:51 freddy77 Exp $";
> Line number: 322
> Line Text: if (vasprintf(&fn, "%s/.odbc.ini", p) > 0) {
>
> If I'm in error here, please accept my apologies...
>
> Brian
>
Now I understood... I think we should use asprintf, not vasprintf...
freddy77
-
[freetds] ODBC Fix,
Brian_Teravskis, 03/26/2003
- Re: [freetds] ODBC Fix, Frediano Ziglio, 03/26/2003
- <Possible follow-up(s)>
- RE: [freetds] ODBC Fix, Lowden, James K, 03/26/2003
-
[freetds] ODBC Fix,
Brian_Teravskis, 03/26/2003
- Re: [freetds] ODBC Fix, Frediano Ziglio, 03/26/2003
- Re: [freetds] ODBC Fix, Frediano Ziglio, 03/26/2003
Archive powered by MHonArc 2.6.24.