/[pcre]/code/trunk/pcre_valid_utf8.c
ViewVC logotype

Diff of /code/trunk/pcre_valid_utf8.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 293 by ph10, Sat Dec 29 16:50:30 2007 UTC revision 369 by ph10, Sun Aug 24 16:53:47 2008 UTC
# Line 6  Line 6 
6  and semantics are as close as possible to those of the Perl 5 language.  and semantics are as close as possible to those of the Perl 5 language.
7    
8                         Written by Philip Hazel                         Written by Philip Hazel
9             Copyright (c) 1997-2007 University of Cambridge             Copyright (c) 1997-2008 University of Cambridge
10    
11  -----------------------------------------------------------------------------  -----------------------------------------------------------------------------
12  Redistribution and use in source and binary forms, with or without  Redistribution and use in source and binary forms, with or without
# Line 154  for (p = string; length-- > 0; p++) Line 154  for (p = string; length-- > 0; p++)
154      if ((*(++p) & 0xc0) != 0x80) return p - string;      if ((*(++p) & 0xc0) != 0x80) return p - string;
155      }      }
156    }    }
157    #else
158    (void)(string);  /* Keep picky compilers happy */
159    (void)(length);
160  #endif  #endif
161    
162  return -1;  return -1;

Legend:
Removed from v.293  
changed lines
  Added in v.369

  ViewVC Help
Powered by ViewVC 1.1.5