Skip site navigation (1) Skip section navigation (2)

Re: Patch for snprintf problem (bug #1000650) 4-th try

From: Hiroshi Inoue <inoue(at)tpf(dot)co(dot)jp>
To: Ludek Finstrle <luf(at)pzkagis(dot)cz>
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: Patch for snprintf problem (bug #1000650) 4-th try
Date: 2006-06-13 14:12:58
Message-ID: 448EC7EA.1080405@tpf.co.jp (view raw or flat)
Thread:
Lists: pgsql-odbc
Ludek Finstrle wrote:
>
> I make patch againist CVS after yours huge commit. What's your opinion?
>   

Is the second parameter of snprintf_add needed ?
Aren't the parameter values always strlen(the first parameter) ?

Is snprintf_len needed instead of snprintf ?
Though the current code ignores snprintf errors, it's simply
my negligence..

regards,
Hiroshi Inoue

In response to

Responses

pgsql-odbc by date

Next:From: postgresql.orgDate: 2006-06-13 19:28:34
Subject: float8 auto truncation issue in ODBC v. PGSQL
Previous:From: Campbell, GregDate: 2006-06-13 14:06:04
Subject: Re: [compgeneral] I cant get the description or default valueof a field

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group