Diff for /embedaddon/pcre/pcre_maketables.c between versions 1.1.1.2 and 1.1.1.3

version 1.1.1.2, 2012/02/21 23:50:25 version 1.1.1.3, 2013/07/22 08:25:55
Line 66  Arguments:   none Line 66  Arguments:   none
 Returns:     pointer to the contiguous block of data  Returns:     pointer to the contiguous block of data
 */  */
   
#ifdef COMPILE_PCRE8#if defined COMPILE_PCRE8
 const unsigned char *  const unsigned char *
 pcre_maketables(void)  pcre_maketables(void)
#else#elif defined COMPILE_PCRE16
 const unsigned char *  const unsigned char *
 pcre16_maketables(void)  pcre16_maketables(void)
   #elif defined COMPILE_PCRE32
   const unsigned char *
   pcre32_maketables(void)
 #endif  #endif
 {  {
 unsigned char *yield, *p;  unsigned char *yield, *p;
Line 127  within regexes. */ Line 130  within regexes. */
 for (i = 0; i < 256; i++)  for (i = 0; i < 256; i++)
   {    {
   int x = 0;    int x = 0;
  if (i != 0x0b && isspace(i)) x += ctype_space;  if (i != CHAR_VT && isspace(i)) x += ctype_space;
   if (isalpha(i)) x += ctype_letter;    if (isalpha(i)) x += ctype_letter;
   if (isdigit(i)) x += ctype_digit;    if (isdigit(i)) x += ctype_digit;
   if (isxdigit(i)) x += ctype_xdigit;    if (isxdigit(i)) x += ctype_xdigit;

Removed from v.1.1.1.2  
changed lines
  Added in v.1.1.1.3


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>