Re: ecpg DllMain fix - Mailing list pgsql-patches

From Michael Meskes
Subject Re: ecpg DllMain fix
Date
Msg-id 20071003085818.GB30174@feivel.credativ.de
Whole thread Raw
In response to ecpg DllMain fix  (ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp>)
Responses Re: ecpg DllMain fix  (Magnus Hagander <magnus@hagander.net>)
List pgsql-patches
On Wed, Oct 03, 2007 at 11:54:44AM +0900, ITAGAKI Takahiro wrote:
> Here is a patch to remove DllMain from libecpg on Win32 build.
> I brought the initialization routine from libpq and implemented
> pthread_once() using a lock that serializes all pthread_once calls.
> I don't have msvc build environment, but I hope it will fix the
> build failure on it.

We will see. Since it doesn't break my linux system I committed the
patch. If anyone notices a problem please tell me.

Michael

--
Michael Meskes
Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes@jabber.org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!

pgsql-patches by date:

Previous
From: ITAGAKI Takahiro
Date:
Subject: Re: initdb of regression test failed.
Next
From: Michael Meskes
Date:
Subject: Re: ecpg thread-safe descriptor