X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 63F5AD1B3A8 for ; Fri, 16 Jul 2004 17:38:27 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 34759-03 for ; Fri, 16 Jul 2004 20:38:28 +0000 (GMT) Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by svr1.postgresql.org (Postfix) with SMTP id 93CF0D1B391 for ; Fri, 16 Jul 2004 17:38:22 -0300 (ADT) Received: (qmail 24908 invoked by uid 65534); 16 Jul 2004 20:38:23 -0000 Received: from dsl-082-082-224-250.arcor-ip.net (EHLO colt.pezone.net) (82.82.224.250) by mail.gmx.net (mp025) with SMTP; 16 Jul 2004 22:38:23 +0200 X-Authenticated: #495269 From: Peter Eisentraut To: tz@ingenion.de, pgsql-odbc@postgresql.org Subject: Re: odbc bug in convert.c Date: Fri, 16 Jul 2004 22:38:21 +0200 User-Agent: KMail/1.5.1 References: <200407161250.51614.tz@ingenion.de> In-Reply-To: <200407161250.51614.tz@ingenion.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200407162238.21895.peter_e@gmx.net> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200407/77 X-Sequence-Number: 4210 Thomas Zehbe wrote: > The "strcpy(saved_locale, setlocale(LC_ALL, NULL));" wites 326 bytes > to the "saved_locale" target, wich is only 256 bytes long (defined at > line 387). How is it possible for a locale name to be 326 bytes long? What is the actual value that is copied? -- Peter Eisentraut http://developer.postgresql.org/~petere/