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 40482D1B179 for ; Tue, 20 Jul 2004 05:31:22 -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 61348-04 for ; Tue, 20 Jul 2004 08:31:15 +0000 (GMT) Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by svr1.postgresql.org (Postfix) with SMTP id E08D5D1B2D9 for ; Tue, 20 Jul 2004 05:31:11 -0300 (ADT) Received: (qmail 23515 invoked by uid 65534); 20 Jul 2004 08:31:12 -0000 Received: from dsl-082-082-232-034.arcor-ip.net (EHLO colt.pezone.net) (82.82.232.34) by mail.gmx.net (mp001) with SMTP; 20 Jul 2004 10:31:12 +0200 X-Authenticated: #495269 From: Peter Eisentraut To: tz@ingenion.de, pgsql-odbc@postgresql.org Subject: Re: odbc bug in convert.c Date: Tue, 20 Jul 2004 10:31:11 +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: <200407201031.11396.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/108 X-Sequence-Number: 4241 Thomas Zehbe wrote: > This is the code (starting at line 1041, with HAVE_LOCAL_H defined) > which crashed: > > case SQL_C_FLOAT: > #ifdef HAVE_LOCALE_H > strcpy(saved_locale, setlocale(LC_ALL, NULL)); > setlocale(LC_ALL, "C"); > #endif /* HAVE_LOCALE_H */ I've changed this to do dynamic allocation. Please try again with CVS tip. -- Peter Eisentraut http://developer.postgresql.org/~petere/