[Python-checkins] python/dist/src/PC getpathp.c,1.30,1.31
mhammond@users.sourceforge.net
mhammond@users.sourceforge.net
Wed, 29 Jan 2003 14:38:31 -0800
Update of /cvsroot/python/python/dist/src/PC
In directory sc8-pr-cvs1:/tmp/cvs-serv19369
Modified Files:
getpathp.c
Log Message:
Fix [ 583477 ] wrong dest size.
Note this code is not used by the core on Win32, but in a block used only
by Windows CE.
Index: getpathp.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/PC/getpathp.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -C2 -d -r1.30 -r1.31
*** getpathp.c 31 Dec 2002 12:35:41 -0000 1.30
--- getpathp.c 29 Jan 2003 22:38:29 -0000 1.31
***************
*** 322,326 ****
WideCharToMultiByte(CP_ACP, 0,
dataBuf, -1, /* source */
! retval, dataSize+1, /* dest */
NULL, NULL);
free(dataBuf);
--- 322,326 ----
WideCharToMultiByte(CP_ACP, 0,
dataBuf, -1, /* source */
! retval, reqdSize+1, /* dest */
NULL, NULL);
free(dataBuf);