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

Diff of /code/trunk/pcre_newline.c

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

revision 200 by ph10, Wed Aug 1 09:10:40 2007 UTC revision 207 by ph10, Mon Aug 6 09:32:14 2007 UTC
# Line 128  _pcre_was_newline(const uschar *ptr, int Line 128  _pcre_was_newline(const uschar *ptr, int
128  {  {
129  int c;  int c;
130  ptr--;  ptr--;
131    #ifdef SUPPORT_UTF8
132  if (utf8)  if (utf8)
133    {    {
134    BACKCHAR(ptr);    BACKCHAR(ptr);
135    GETCHAR(c, ptr);    GETCHAR(c, ptr);
136    }    }
137  else c = *ptr;  else c = *ptr;
138    #else   /* no UTF-8 support */
139    c = *ptr;
140    #endif  /* SUPPORT_UTF8 */
141    
142  if (type == NLTYPE_ANYCRLF) switch(c)  if (type == NLTYPE_ANYCRLF) switch(c)
143    {    {

Legend:
Removed from v.200  
changed lines
  Added in v.207

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12