mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-26 02:43:43 +03:00
Fixed handle leak on win32 and preparing 2.0 beta 8.
This commit is contained in:
parent
d14a2c0639
commit
77398c759e
|
@ -1,3 +1,10 @@
|
||||||
|
2006-02-11 Federico Di Gregorio <fog@initd.org>
|
||||||
|
|
||||||
|
* Release 2.0 beta 8.
|
||||||
|
|
||||||
|
* psycopg/config.h: applied patch from Jason to fix handle leak on
|
||||||
|
win32, as documented in #92.
|
||||||
|
|
||||||
2006-02-11 Federico Di Gregorio <fog@initd.org>
|
2006-02-11 Federico Di Gregorio <fog@initd.org>
|
||||||
|
|
||||||
* Release 2.0 beta 7.
|
* Release 2.0 beta 7.
|
||||||
|
|
5
NEWS
5
NEWS
|
@ -1,3 +1,8 @@
|
||||||
|
What's new in psycopg 2.0 beta 8
|
||||||
|
--------------------------------
|
||||||
|
|
||||||
|
* Fixed handle leak on win32.
|
||||||
|
|
||||||
What's new in psycopg 2.0 beta 7
|
What's new in psycopg 2.0 beta 7
|
||||||
--------------------------------
|
--------------------------------
|
||||||
|
|
||||||
|
|
|
@ -57,7 +57,7 @@ static void Dprintf(const char *fmt, ...) {}
|
||||||
#define pthread_condvar_t HANDLE
|
#define pthread_condvar_t HANDLE
|
||||||
#define pthread_mutex_lock(object) WaitForSingleObject(object, INFINITE)
|
#define pthread_mutex_lock(object) WaitForSingleObject(object, INFINITE)
|
||||||
#define pthread_mutex_unlock(object) ReleaseMutex(object)
|
#define pthread_mutex_unlock(object) ReleaseMutex(object)
|
||||||
#define pthread_mutex_destroy(ref) (CloseHandle(ref))
|
#define pthread_mutex_destroy(ref) (CloseHandle(*(ref)))
|
||||||
/* convert pthread mutex to native mutex */
|
/* convert pthread mutex to native mutex */
|
||||||
static int pthread_mutex_init(pthread_mutex_t *mutex, void* fake)
|
static int pthread_mutex_init(pthread_mutex_t *mutex, void* fake)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user