[BACK]Return to window.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/window.c between version 1.1 and 1.2

version 1.1, 2009/06/01 22:58:49 version 1.2, 2009/06/05 07:18:37
Line 473 
Line 473 
                 if (chdir(wp->cwd) != 0)                  if (chdir(wp->cwd) != 0)
                         chdir("/");                          chdir("/");
                 for (envq = envp; *envq != NULL; envq++) {                  for (envq = envp; *envq != NULL; envq++) {
                         if (putenv((char *) *envq) != 0)                          if (putenv(xstrdup(*envq)) != 0)
                                 fatal("putenv failed");                                  fatal("putenv failed");
                 }                  }
                 sigreset();                  sigreset();

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2