[Python-checkins] CVS: distutils/misc extract.c,1.6,1.7

Thomas Heller theller@users.sourceforge.net
Mon, 17 Dec 2001 09:53:07 -0800


Update of /cvsroot/python/distutils/misc
In directory usw-pr-cvs1:/tmp/cvs-serv17596

Modified Files:
	extract.c 
Log Message:
First part of fix for bug [#483982] Python 2.2b2 bdist_wininst crashes.
Thanks to Tarn Weisner Burton for finding this.


Index: extract.c
===================================================================
RCS file: /cvsroot/python/distutils/misc/extract.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** extract.c	2001/09/05 12:55:53	1.6
--- extract.c	2001/12/17 17:53:05	1.7
***************
*** 242,246 ****
  	 * and replace this part by the one in the scheme to use
  	 */
! 	for (i = 0; *scheme[i].name; ++i) {
  	    if (0 == strnicmp(scheme[i].name, fname, strlen(scheme[i].name))) {
  		char *rest;
--- 242,246 ----
  	 * and replace this part by the one in the scheme to use
  	 */
! 	for (i = 0; scheme[i].name; ++i) {
  	    if (0 == strnicmp(scheme[i].name, fname, strlen(scheme[i].name))) {
  		char *rest;