From 48271e3845cb119414f9b82a11a0404261efdb1d Mon Sep 17 00:00:00 2001 From: midipix Date: Fri, 22 Jul 2016 01:22:22 -0400 Subject: debug: added job-control session creation in 'raw' and 'oven' modes. --- src/pty/ptyc_pty_ctx.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/pty') diff --git a/src/pty/ptyc_pty_ctx.c b/src/pty/ptyc_pty_ctx.c index 99d8c69..e5245c8 100644 --- a/src/pty/ptyc_pty_ctx.c +++ b/src/pty/ptyc_pty_ctx.c @@ -214,6 +214,11 @@ int ptyc_alloc_pty(struct ptyc_driver_ctx * dctx) return ptyc_set_status( dctx,status); + if (cctx->drvflags & (PTYC_DRIVER_DBG_RAW|PTYC_DRIVER_DBG_OVEN)) + if ((status = ptyc_pty_own(cctx->hpts,ictx->rtdata))) + return ptyc_set_status( + dctx,status); + return ptyc_set_status( dctx,NT_STATUS_SUCCESS); } -- cgit v1.2.3