swc

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.nihaljere.xyz/swc
Log | Files | Refs | README | LICENSE

commit e88d5f1d490ce3c4108c023d17f0ca32a24c4cd1
parent d82a7211d14b8b1e3b03613ef26aa66a5d0426ed
Author: Michael Forney <mforney@mforney.org>
Date:   Sat, 30 Apr 2016 02:57:10 -0700

launch: Remove unused SWC_LAUNCH_TTY_FD

swc-launch has handled all TTY interactions for a long time now.

Diffstat:
Mlaunch/launch.c | 2--
Mlaunch/protocol.h | 1-
2 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/launch/launch.c b/launch/launch.c @@ -494,8 +494,6 @@ main(int argc, char *argv[]) sprintf(buf, "%d", sock[1]); setenv(SWC_LAUNCH_SOCKET_ENV, buf, 1); - sprintf(buf, "%d", launcher.tty_fd); - setenv(SWC_LAUNCH_TTY_FD_ENV, buf, 1); if (posix_spawnattr_setflags(&attr, POSIX_SPAWN_RESETIDS | POSIX_SPAWN_SETSIGDEF | POSIX_SPAWN_SETSIGMASK) < 0) die("failed to set spawnattr flags:"); diff --git a/launch/protocol.h b/launch/protocol.h @@ -29,7 +29,6 @@ #include <sys/types.h> #define SWC_LAUNCH_SOCKET_ENV "SWC_LAUNCH_SOCKET" -#define SWC_LAUNCH_TTY_FD_ENV "SWC_LAUNCH_TTY_FD" struct swc_launch_request { enum {