freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "Varley, David(CBorn at Alcoa)" <David.Varley AT alcoa.com.au>
- To: 'TDS Development Group' <freetds AT franklin.oit.unc.edu>
- Subject: Re: patch: dblib.c without vsnprintf
- Date: Thu, 22 Aug 2002 13:26:01 +0800
Most timely, I'd just this morning patched in vsprintf()
to replace vsnprintf() to allow me to run the tests.
(Very wrong I know, but I wanted to try, and it worked)
So, I just overwrote my changes with your correct ones,
only problem is that vasprintf() is only included in
libtds.so, not libsybdb.so where it is needed! I patched
my Makefile to include it, and it works and only fails
1 of 19 tests.
I guess the proper place to add asprintf.lo is in a
Makefile.in (or .am?), if you can do that we'll be
cooking with gas :)
David
> -----Original Message-----
> From: James K. Lowden [mailto:jklowden AT schemamania.org]
> Sent: Thursday, 22 August 2002 2:30 PM
> To: TDS Development Group
> Subject: [freetds] Re: patch: dblib.c without vsnprintf
>
>
> On Mon, 17 Jun 2002 14:27:16 -0400, "Lowden, James K"
> <LowdenJK AT bernstein.com> wrote:
>
> > The attached patch crudely works around the use of vsnprintf in
> > dblib.c::dbfcmd. I'm note sure it's even right, and it
> just barks to
> > stdout if the buffer's exceeded.
>
> For the record, this is now fixed correctly. dbfcmd now works without
> vsnprintf. It uses the vasprintf(3), relying on the PD version in
> src/tds/asprintf.c if configure determines the OS doesn't
> provide one.
>
> --jkl
>
>
>
> ---
> You are currently subscribed to freetds as:
> [David.Varley AT alcoa.com.au]
> To unsubscribe, forward this message to
> $subst('Email.Unsub')
>
-
Re: patch: dblib.c without vsnprintf,
James K. Lowden, 08/22/2002
- <Possible follow-up(s)>
- Re: patch: dblib.c without vsnprintf, Varley, David(CBorn at Alcoa), 08/22/2002
- Re: patch: dblib.c without vsnprintf, James K . Lowden, 08/22/2002
- Re: patch: dblib.c without vsnprintf, Castellano, Nicholas, 08/22/2002
- Re: patch: dblib.c without vsnprintf, Castellano, Nicholas, 08/22/2002
- Re: patch: dblib.c without vsnprintf, Lowden, James K, 08/22/2002
Archive powered by MHonArc 2.6.24.