/[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 371 by ph10, Mon Aug 25 18:28:05 2008 UTC revision 409 by ph10, Sat Mar 28 17:10:56 2009 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-2008 University of Cambridge             Copyright (c) 1997-2009 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 75  Returns: < 0 if the string is a Line 75  Returns: < 0 if the string is a
75  */  */
76    
77  int  int
78  _pcre_valid_utf8(const uschar *string, int length)  _pcre_valid_utf8(USPTR string, int length)
79  {  {
80  #ifdef SUPPORT_UTF8  #ifdef SUPPORT_UTF8
81  register const uschar *p;  register USPTR p;
82    
83  if (length < 0)  if (length < 0)
84    {    {

Legend:
Removed from v.371  
changed lines
  Added in v.409

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12