[Python-checkins] CVS: python/dist/src/Python getargs.c,2.27,2.28
Guido van Rossum
python-dev@python.org
2000年3月27日 21:00:32 -0500 (EST)
Update of /projects/cvsroot/python/dist/src/Python
In directory eric:/home/guido/hp/mal/py-patched/Python
Modified Files:
getargs.c
Log Message:
Typo fixed by Mark Hammond.
Index: getargs.c
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Python/getargs.c,v
retrieving revision 2.27
retrieving revision 2.28
diff -C2 -r2.27 -r2.28
*** getargs.c 2000年03月24日 22:14:19 2.27
--- getargs.c 2000年03月28日 02:00:29 2.28
***************
*** 671,675 ****
/* Get 's' parameter: the output buffer to use */
if (*format != 's')
! return "(unkown parser marker combination)";
buffer = (char **)va_arg(*p_va, char **);
format++;
--- 671,675 ----
/* Get 's' parameter: the output buffer to use */
if (*format != 's')
! return "(unknown parser marker combination)";
buffer = (char **)va_arg(*p_va, char **);
format++;
***************
*** 757,761 ****
*/
! if (strlen(PyString_AS_STRING(s)) != size)
return "(encoded string without "\
"NULL bytes)";
--- 757,761 ----
*/
! if ((int)strlen(PyString_AS_STRING(s)) != size)
return "(encoded string without "\
"NULL bytes)";