[Python-checkins] python/dist/src/Modules zipimport.c,1.6,1.6.2.1

jvr@users.sourceforge.net jvr@users.sourceforge.net
Thu, 02 Jan 2003 07:19:33 -0800


Update of /cvsroot/python/python/dist/src/Modules
In directory sc8-pr-cvs1:/tmp/cvs-serv3083

Modified Files:
      Tag: r23a1-branch
	zipimport.c 
Log Message:
backport zipimport fix to 2.3a1 rel branch

Index: zipimport.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/zipimport.c,v
retrieving revision 1.6
retrieving revision 1.6.2.1
diff -C2 -d -r1.6 -r1.6.2.1
*** zipimport.c	31 Dec 2002 15:47:42 -0000	1.6
--- zipimport.c	2 Jan 2003 15:19:27 -0000	1.6.2.1
***************
*** 104,108 ****
  		}
  		/* back up one path element */
! 		p = strchr(buf, SEP);
  		if (prefix != NULL)
  			*prefix = SEP;
--- 104,108 ----
  		}
  		/* back up one path element */
! 		p = strrchr(buf, SEP);
  		if (prefix != NULL)
  			*prefix = SEP;