[Python-checkins] CVS: python/dist/src/Python mactoolboxglue.c,1.8,1.9

Tim Peters tim_one@users.sourceforge.net
Mon, 03 Dec 2001 17:11:34 -0800


Update of /cvsroot/python/python/dist/src/Python
In directory usw-pr-cvs1:/tmp/cvs-serv4746/python/Python

Modified Files:
	mactoolboxglue.c 
Log Message:
More sprintf -> PyOS_snprintf.


Index: mactoolboxglue.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/mactoolboxglue.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** mactoolboxglue.c	2001/11/05 14:39:17	1.8
--- mactoolboxglue.c	2001/12/04 01:11:32	1.9
***************
*** 92,96 ****
  		ReleaseResource(h);
  	} else {
! 		sprintf(buf, "Mac OS error code %d", err);
  	}
  	return buf;
--- 92,96 ----
  		ReleaseResource(h);
  	} else {
! 		PyOS_snprintf(buf, sizeof(buf), "Mac OS error code %d", err);
  	}
  	return buf;