~vorlon/ubuntu/natty/eglibc/multiarch

« back to all changes in this revision

Viewing changes to string/str-two-way.h

  • Committer: Steve Langasek
  • Date: 2011-02-18 21:18:44 UTC
  • mfrom: (103.1.7 eglibc)
  • Revision ID: steve.langasek@linaro.org-20110218211844-lodmi8b1qhyq3f3x
Tags: 2.13~pre1-0ubuntu1+multiarch.1
merge from natty

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* Byte-wise substring search, using the Two-Way algorithm.
2
 
   Copyright (C) 2008 Free Software Foundation, Inc.
 
2
   Copyright (C) 2008, 2010 Free Software Foundation, Inc.
3
3
   This file is part of the GNU C Library.
4
4
   Written by Eric Blake <ebb9@byu.net>, 2008.
5
5
 
350
350
                     a byte out of place, there can be no match until
351
351
                     after the mismatch.  */
352
352
                  shift = needle_len - period;
353
 
                  memory = 0;
354
353
                }
 
354
              memory = 0;
355
355
              j += shift;
356
356
              continue;
357
357
            }
426
426
#undef AVAILABLE
427
427
#undef CANON_ELEMENT
428
428
#undef CMP_FUNC
429
 
#undef MAX
430
429
#undef RETURN_TYPE