[Python-checkins] python/dist/src/Modules binascii.c,2.41,2.42

loewis at users.sourceforge.net loewis at users.sourceforge.net
Tue Jul 27 17:03:55 CEST 2004


Update of /cvsroot/python/python/dist/src/Modules
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11819

Modified Files:
	binascii.c 
Log Message:
Switch arguments to memset (kudos to MSVC C4318 for finding that)

Index: binascii.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/binascii.c,v
retrieving revision 2.41
retrieving revision 2.42
diff -C2 -d -r2.41 -r2.42
*** binascii.c	6 Jun 2004 20:13:10 -0000	2.41
--- binascii.c	27 Jul 2004 15:03:53 -0000	2.42
***************
*** 1047,1051 ****
  		return NULL;
  	}
! 	memset(odata, datalen, 0);
  
  	in = out = 0;
--- 1047,1051 ----
  		return NULL;
  	}
! 	memset(odata, 0, datalen);
  
  	in = out = 0;
***************
*** 1221,1225 ****
  		return NULL;
  	}
! 	memset(odata, odatalen, 0);
  
  	in = out = linelen = 0;
--- 1221,1225 ----
  		return NULL;
  	}
! 	memset(odata, 0, odatalen);
  
  	in = out = linelen = 0;



More information about the Python-checkins mailing list