commit aec88ab5ac2404fdd0f79988742cb2dd50ce0b60
parent 66af5e955911a7f9db29e0bcd2fdf7df1b69eb67
Author: Jan Pobrislo <ccx@te2000.cz>
Date: Wed, 31 Jul 2024 11:22:10 +0000
Remove old comments
Diffstat:
1 file changed, 0 insertions(+), 3 deletions(-)
diff --git a/src/spawn-pty.c b/src/spawn-pty.c
@@ -96,9 +96,6 @@ void exec_terminal(const char *term_env, const char **ptmx_argv, const char **pt
if(close(ptmx_fd) != 0) {
strerr_dief1sys(111, "close(ptmx_fd) in parent");
}
- // # parent
- // env['PTMX_FD'] = "0"
- // execve(terminal, env)
char envstr[9 + strlen(pts_name)];
memcpy(envstr, "PTS_NAME=", 9);
strcpy(&envstr[8], term_env);