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

Diff for /src/usr.bin/less/option.c between version 1.15 and 1.16

version 1.15, 2015/11/23 09:26:51 version 1.16, 2016/09/17 15:06:41
Line 572 
Line 572 
         *p_str = ecalloc(strlen(s)+1, sizeof (char));          *p_str = ecalloc(strlen(s)+1, sizeof (char));
         out = *p_str;          out = *p_str;
   
         for (p = s;  *p != '\0';  p++) {          for (p = s; *p != '\0'; p++) {
                 if (opt_use_backslash && *p == '\\' && p[1] != '\0') {                  if (opt_use_backslash && *p == '\\' && p[1] != '\0') {
                         /* Take next char literally. */                          /* Take next char literally. */
                         ++p;                          ++p;

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16