[BACK]Return to compile.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / sed

Diff for /src/usr.bin/sed/compile.c between version 1.29 and 1.30

version 1.29, 2009/08/07 03:30:56 version 1.30, 2009/10/23 15:24:41
Line 675 
Line 675 
                         text = xrealloc(text, asize);                          text = xrealloc(text, asize);
                 }                  }
                 op = s = text + size;                  op = s = text + size;
                 EATSPACE();  
                 for (esc_nl = 0; *p != '\0'; p++) {                  for (esc_nl = 0; *p != '\0'; p++) {
                         if (*p == '\\' && p[1] != '\0' && *++p == '\n')                          if (*p == '\\' && p[1] != '\0' && *++p == '\n')
                                 esc_nl = 1;                                  esc_nl = 1;

Legend:
Removed from v.1.29  
changed lines
  Added in v.1.30