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: (view raw, whole thread or download thread mbox)
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

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-2017 The PostgreSQL Global Development Group