X-Original-To: pgsql-odbc-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 206B39FA5BE for ; Tue, 13 Jun 2006 11:13:13 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 81045-06 for ; Tue, 13 Jun 2006 11:13:04 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sd.tpf.co.jp (sd.tpf.co.jp [210.161.239.34]) by postgresql.org (Postfix) with SMTP id D41139FA12F for ; Tue, 13 Jun 2006 11:13:02 -0300 (ADT) Received: (qmail 2810 invoked from network); 13 Jun 2006 23:12:59 +0900 X-Authentication: inoue was authenticated by mail.tpf.co.jp at 13 Jun 2006 23:12:59 +0900 Received: from unknown (HELO ?192.168.11.2?) (219.61.40.10) by mail.tpf.co.jp with SMTP; 13 Jun 2006 23:12:59 +0900 Message-ID: <448EC7EA.1080405@tpf.co.jp> Date: Tue, 13 Jun 2006 23:12:58 +0900 From: Hiroshi Inoue User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: Ludek Finstrle CC: pgsql-odbc@postgresql.org Subject: Re: Patch for snprintf problem (bug #1000650) 4-th try References: <20060607173910.GA28221@soptik.pzkagis.cz> <4488B6EA.9050107@tpf.co.jp> <20060609081637.GA8153@soptik.pzkagis.cz> <20060609121323.GA17258@soptik.pzkagis.cz> <20060613094617.GA28219@soptik.pzkagis.cz> In-Reply-To: <20060613094617.GA28219@soptik.pzkagis.cz> Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/84 X-Sequence-Number: 7832 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