pgsql: Remove unsafe calling of WSAStartup and WSACleanup from DllMain. - Mailing list pgsql-committers

From mha@postgresql.org (Magnus Hagander)
Subject pgsql: Remove unsafe calling of WSAStartup and WSACleanup from DllMain.
Date
Msg-id 20070308192749.04A0B9FBBDC@postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Remove unsafe calling of WSAStartup and WSACleanup from DllMain. Move the
inline cleanup call around so it will be called in the right order, and
be called on errors.

Per report from Tokuharu Yuzawa.

Tags:
----
REL8_2_STABLE

Modified Files:
--------------
    pgsql/src/interfaces/libpq:
        bcc32.mak (r1.25.2.1 -> r1.25.2.2)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/libpq/bcc32.mak.diff?r1=1.25.2.1&r2=1.25.2.2)
        fe-connect.c (r1.339 -> r1.339.2.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/libpq/fe-connect.c.diff?r1=1.339&r2=1.339.2.1)
        win32.mak (r1.42.2.1 -> r1.42.2.2)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/libpq/win32.mak.diff?r1=1.42.2.1&r2=1.42.2.2)

Removed Files:
-------------
    pgsql/src/interfaces/libpq:
        libpqdll.c
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/libpq/libpqdll.c)

pgsql-committers by date:

Previous
From: mha@postgresql.org (Magnus Hagander)
Date:
Subject: pgsql: Remove unsafe calling of WSAStartup and WSACleanup from DllMain.
Next
From: "Dave Page"
Date:
Subject: Re: pgsql: Remove unsafe calling of WSAStartup and WSA Cleanup from DllMain.