aboutsummaryrefslogtreecommitdiff
path: root/compat/forkpty-aix.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2011-01-10 22:45:10 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2011-01-10 22:45:10 +0000
commitabd1f615b2413f17fdc447cba10f8764a1eb5f08 (patch)
tree5c7e517fd56b8b430d430c6cc94ddea5e9286bf0 /compat/forkpty-aix.c
parenta7b6445cc39983fb33466529a904fe749d3d6885 (diff)
downloadrtmux-abd1f615b2413f17fdc447cba10f8764a1eb5f08.tar.gz
rtmux-abd1f615b2413f17fdc447cba10f8764a1eb5f08.tar.bz2
rtmux-abd1f615b2413f17fdc447cba10f8764a1eb5f08.zip
Trim spaces.
Diffstat (limited to 'compat/forkpty-aix.c')
-rw-r--r--compat/forkpty-aix.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/compat/forkpty-aix.c b/compat/forkpty-aix.c
index f7bc1b8b..22f0ddfb 100644
--- a/compat/forkpty-aix.c
+++ b/compat/forkpty-aix.c
@@ -1,4 +1,4 @@
-/* $Id: forkpty-aix.c,v 1.4 2009-09-20 18:31:16 nicm Exp $ */
+/* $Id: forkpty-aix.c,v 1.5 2011-01-10 22:45:09 nicm Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -52,10 +52,10 @@ forkpty(int *master, unused char *name, struct termios *tio, struct winsize *ws)
ioctl(fd, TIOCNOTTY, NULL);
close(fd);
}
-
+
if (setsid() < 0)
fatal("setsid");
-
+
fd = open(_PATH_TTY, O_RDWR|O_NOCTTY);
if (fd >= 0)
fatalx("open succeeded (failed to disconnect)");