Update of /cvsroot/pypgsql/pypgsql
In directory usw-pr-cvs1:/tmp/cvs-serv12240
Modified Files:
libpqmodule.c
Log Message:
21JAN2002 bga - Applied patch by Chris Bainbridge [Patch #505941].
Index: libpqmodule.c
===================================================================
RCS file: /cvsroot/pypgsql/pypgsql/libpqmodule.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** libpqmodule.c 2001/10/13 20:40:35 1.20
--- libpqmodule.c 2002/02/01 22:57:02 1.21
***************
*** 32,35 ****
--- 32,36 ----
| Date Ini Description |
| --------- --- ------------------------------------------------------- |
+ | 21JAN2002 bga Applied patch by Chris Bainbridge [Patch #505941]. |
| 13OCT2001 bga Added support for the pickling of libpq objects. In |
| particular, for PgVersion and PgConnection objects. |
***************
*** 332,336 ****
/* Calculate the size for the new memory string. */
- slen = strlen((char *)sin);
i = (slen * (forArray ? 8 : 4)) + 3;
--- 333,336 ----
|