(wrong string) élien Aptel
changeset: 242:9692c9452e2c
user: Aurélien Aptel <aurelien.aptel_AT_gmail.com>
date: Thu Feb 16 19:24:46 2012 +0100
files: st.c
description:
use SHELL as default shell.
diff -r ad255bf6ccf2 -r 9692c9452e2c st.c
--- a/st.c Thu Feb 16 01:06:45 2012 +0100
+++ b/st.c Thu Feb 16 19:24:46 2012 +0100
_AT_@ -709,7 +709,7 @@
char **args;
char *envshell = getenv("SHELL");
- DEFAULT(envshell, "sh");
+ DEFAULT(envshell, SHELL);
putenv("TERM="TNAME);
args = opt_cmd ? opt_cmd : (char*[]){envshell, "-i", NULL};
execvp(args[0], args);
Received on Mon Feb 27 2012 - 12:44:34 CET
This archive was generated by hypermail 2.3.0
: Mon Feb 27 2012 - 12:48:09 CET