From d918bea72978afa375c83b167a70a814bcaf2a95 Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 17 Jul 2016 14:49:49 -0400 Subject: pty layer: set client information for pty inheritance. --- src/pty/ptyc_pty_ctx.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/pty') diff --git a/src/pty/ptyc_pty_ctx.c b/src/pty/ptyc_pty_ctx.c index f0e416d..99d8c69 100644 --- a/src/pty/ptyc_pty_ctx.c +++ b/src/pty/ptyc_pty_ctx.c @@ -200,6 +200,10 @@ int ptyc_alloc_pty(struct ptyc_driver_ctx * dctx) return ptyc_set_status( dctx,status); + if ((status = ptyc_set_client_info(cctx->hpts,&ictx->clctx.clinfo))) + return ptyc_set_status( + dctx,status); + if (cctx->drvflags & PTYC_DRIVER_DBG_RAW) if ((status = ptyc_make_raw(cctx->hpts))) return ptyc_set_status( -- cgit v1.2.3