Update of /cvsroot/pypgsql/pypgsql
In directory usw-pr-cvs1:/tmp/cvs-serv12682
Modified Files:
pglargeobject.c
Log Message:
19OCT2002 gh Made the 'closed' attribute of PgLargeObject an int instead of a
long.
Index: pglargeobject.c
===================================================================
RCS file: /cvsroot/pypgsql/pypgsql/pglargeobject.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** pglargeobject.c 2 Oct 2002 04:03:26 -0000 1.12
--- pglargeobject.c 19 Oct 2002 14:34:55 -0000 1.13
***************
*** 30,33 ****
--- 30,35 ----
| Date Ini Description |
| --------- --- ------------------------------------------------------- |
+ | 19OCT2002 gh Made the 'closed' attribute of PgLargeObject an int |
+ | instead of a long. |
| 03NOV2001 bga Closed a couple of possible memory leaks. These leaks |
| had a low probability of occuring. |
***************
*** 1286,1290 ****
if (strcmp(attr, "closed") == 0)
! return Py_BuildValue("l", (long)(self->lo_fd == -1));
if (!strcmp(attr, "__module__"))
--- 1288,1292 ----
if (strcmp(attr, "closed") == 0)
! return Py_BuildValue("i", (self->lo_fd == -1));
if (!strcmp(attr, "__module__"))
|