Return to tmux.c CVS log | Up to [local] / src / usr.bin / tmux |
version 1.103, 2011/01/23 11:03:43 | version 1.104, 2011/03/04 23:26:44 | ||
---|---|---|---|
|
|
||
if ((env = getenv("TMUX")) == NULL) | if ((env = getenv("TMUX")) == NULL) | ||
return; | return; | ||
if (sscanf(env, "%255s,%ld,%d", path, &pid, &idx) != 3) | if (sscanf(env, "%255[^,],%ld,%d", path, &pid, &idx) != 3) | ||
return; | return; | ||
environ_path = xstrdup(path); | environ_path = xstrdup(path); | ||
environ_pid = pid; | environ_pid = pid; |