pty: move fork_pty_child to setup_child
authorDavid Herrmann <dh.herrmann@googlemail.com>
Sat, 28 Jan 2012 16:35:43 +0000 (17:35 +0100)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Sat, 28 Jan 2012 16:39:20 +0000 (17:39 +0100)
commitd8d0e24a223afef861ed104c7896d00a026d4ca0
treeb5f2857cc4703c427bdcb92890b0218fbd242966
parent31fc37406590c553e573cc33607cb6cbb6e4d3cb
pty: move fork_pty_child to setup_child

The name fork_pty_child was misleading. It doesn't fork at all but
instead sets up the child's environment.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/pty.c