commit e88d5f1
Michael Forney
·
2016-04-30 09:57:10 +0000 UTC
parent d82a721
launch: Remove unused SWC_LAUNCH_TTY_FD swc-launch has handled all TTY interactions for a long time now.
2 files changed,
+0,
-3
+0,
-2
1@@ -494,8 +494,6 @@ main(int argc, char *argv[])
2
3 sprintf(buf, "%d", sock[1]);
4 setenv(SWC_LAUNCH_SOCKET_ENV, buf, 1);
5- sprintf(buf, "%d", launcher.tty_fd);
6- setenv(SWC_LAUNCH_TTY_FD_ENV, buf, 1);
7
8 if (posix_spawnattr_setflags(&attr, POSIX_SPAWN_RESETIDS | POSIX_SPAWN_SETSIGDEF | POSIX_SPAWN_SETSIGMASK) < 0)
9 die("failed to set spawnattr flags:");
+0,
-1
1@@ -29,7 +29,6 @@
2 #include <sys/types.h>
3
4 #define SWC_LAUNCH_SOCKET_ENV "SWC_LAUNCH_SOCKET"
5-#define SWC_LAUNCH_TTY_FD_ENV "SWC_LAUNCH_TTY_FD"
6
7 struct swc_launch_request {
8 enum {