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 20070308192728.997919FBE80@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.

Modified Files:
--------------
    pgsql/src/interfaces/libpq:
        bcc32.mak (r1.26 -> r1.27)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/libpq/bcc32.mak.diff?r1=1.26&r2=1.27)
        fe-connect.c (r1.344 -> r1.345)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/libpq/fe-connect.c.diff?r1=1.344&r2=1.345)
        win32.mak (r1.43 -> r1.44)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/libpq/win32.mak.diff?r1=1.43&r2=1.44)

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: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Fix vac_update_relstats to ensure it always sends a relcache
Next
From: mha@postgresql.org (Magnus Hagander)
Date:
Subject: pgsql: Remove unsafe calling of WSAStartup and WSACleanup from DllMain.