Differences From Artifact [6be3c5c3d6]:
- File unix/uxpty.c — part of check-in [0632fdc578] at 2005-02-06 09:52:00 on branch trunk — Reinstate the broken -e option in pterm. Also I've just worked out a much better way of handling pty_argv which doesn't require uxpty.c to be linked in to Unix PuTTY and PuTTYtel. (user: simon size: 24952)
To Artifact [c7c04cc8de]:
- File unix/uxpty.c — part of check-in [eb7b985525] at 2005-04-04 08:44:45 on branch trunk — NULL needs to be cast to void * when passed to a variadic function like execl(). Spotted by Damien Miller. (user: ben size: 24960)
| ︙ | |||
809 810 811 812 813 814 815 | 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 | - + |
if (cfg->login_shell) {
char *p = strrchr(shell, '/');
shellname = snewn(2+strlen(shell), char);
p = p ? p+1 : shell;
sprintf(shellname, "-%s", p);
} else
shellname = shell;
|
| ︙ |