Skip to Content.
Sympa Menu

freetds - Re: patch: dblib.c without vsnprintf

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "James K. Lowden" <jklowden AT schemamania.org>
  • To: "TDS Development Group" <freetds AT franklin.metalab.unc.edu>
  • Subject: Re: patch: dblib.c without vsnprintf
  • Date: Thu, 22 Aug 2002 00:30:16 -0400


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






Archive powered by MHonArc 2.6.24.

Top of Page