Return to main.c CVS log | Up to [local] / src / usr.bin / less |
version 1.30, 2015/11/14 20:13:29 | version 1.31, 2015/11/20 16:22:33 | ||
---|---|---|---|
|
|
||
estrdup(const char *str) | estrdup(const char *str) | ||
{ | { | ||
char *n; | char *n; | ||
n = strdup(str); | n = strdup(str); | ||
if (n == NULL) { | if (n == NULL) { | ||
error("Cannot allocate memory", NULL); | error("Cannot allocate memory", NULL); |