[Python-checkins] CVS: python/dist/src/Modules stropmodule.c,2.61,2.62

Barry A. Warsaw python-dev@python.org
Mon, 20 Mar 2000 11:36:42 -0500 (EST)


Update of /projects/cvsroot/python/dist/src/Modules
In directory anthem:/home/bwarsaw/projects/python/Modules

Modified Files:
	stropmodule.c 
Log Message:
On 17-Mar-2000, Marc-Andre Lemburg said:

    Attached you find an update of the Unicode implementation.

    The patch is against the current CVS version. I would appreciate
    if someone with CVS checkin permissions could check the changes
    in.

    The patch contains all bugs and patches sent this week and also
    fixes a leak in the codecs code and a bug in the free list code
    for Unicode objects (which only shows up when compiling Python
    with Py_DEBUG; thanks to MarkH for spotting this one).


Index: stropmodule.c
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Modules/stropmodule.c,v
retrieving revision 2.61
retrieving revision 2.62
diff -C2 -r2.61 -r2.62
*** stropmodule.c	2000/02/29 13:59:24	2.61
--- stropmodule.c	2000/03/20 16:36:39	2.62
***************
*** 1055,1059 ****
    strstr replacement for arbitrary blocks of memory.
  
!   Locates the first occurance in the memory pointed to by MEM of the
    contents of memory pointed to by PAT.  Returns the index into MEM if
    found, or -1 if not found.  If len of PAT is greater than length of
--- 1055,1059 ----
    strstr replacement for arbitrary blocks of memory.
  
!   Locates the first occurrence in the memory pointed to by MEM of the
    contents of memory pointed to by PAT.  Returns the index into MEM if
    found, or -1 if not found.  If len of PAT is greater than length of