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

Re: odbc bug in convert.c

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: tz(at)ingenion(dot)de, pgsql-odbc(at)postgresql(dot)org
Subject: Re: odbc bug in convert.c
Date: 2004-07-16 20:38:21
Message-ID: 200407162238.21895.peter_e@gmx.net (view raw or flat)
Thread:
Lists: pgsql-odbc
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/


In response to

pgsql-odbc by date

Next:From: Michael AldorDate: 2004-07-16 23:54:56
Subject: ADO Connection with Postgres
Previous:From: Jeff EckermannDate: 2004-07-16 14:44:20
Subject: Re: time columns: ms-access bound controls

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