=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/less/lsystem.c,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- src/usr.bin/less/lsystem.c 2015/11/06 15:50:33 1.12 +++ src/usr.bin/less/lsystem.c 2015/11/07 18:07:44 1.13 @@ -85,7 +85,7 @@ p = NULL; if ((shell = lgetenv("SHELL")) != NULL && *shell != '\0') { if (*cmd == '\0') { - p = save(shell); + p = estrdup(shell); } else { char *esccmd = shell_quote(cmd); if (esccmd != NULL) { @@ -96,9 +96,9 @@ } if (p == NULL) { if (*cmd == '\0') - p = save("sh"); + p = estrdup("sh"); else - p = save(cmd); + p = estrdup(cmd); } (void) system(p); free(p);