Return to option.c CVS log | Up to [local] / src / usr.bin / less |
version 1.15, 2015/11/23 09:26:51 | version 1.16, 2016/09/17 15:06:41 | ||
---|---|---|---|
|
|
||
*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; |