summaryrefslogtreecommitdiff
path: root/vms/vms.c
diff options
context:
space:
mode:
authorCraig A. Berry <craigberry@mac.com>2009-01-10 11:17:58 -0600
committerCraig A. Berry <craigberry@mac.com>2009-01-10 13:34:02 -0600
commit36b6faa83d9e2a0e8c712bb43e73cdd8864300cb (patch)
treea1b302c50953fbdec8fa3c9059af458db3139520 /vms/vms.c
parent8e0aa7ce8be1f5fbdc7167963d159d193ada98b4 (diff)
downloadperl-36b6faa83d9e2a0e8c712bb43e73cdd8864300cb.tar.gz
Revision to thread context fixes from ebd4d70bfcb408fd33ee8841c43d30ca8408b19d
Diffstat (limited to 'vms/vms.c')
-rw-r--r--vms/vms.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/vms/vms.c b/vms/vms.c
index 52e2be8dcc..5b9e851bd9 100644
--- a/vms/vms.c
+++ b/vms/vms.c
@@ -3043,12 +3043,12 @@ pipe_exit_routine()
/* We need to use the Perl context of the thread that created */
/* the pipe. */
pTHX;
- if (info->err)
- aTHX = info->err->thx;
- else if (info->out)
- aTHX = info->out->thx;
- else if (info->in)
- aTHX = info->in->thx;
+ if (open_pipes->err)
+ aTHX = open_pipes->err->thx;
+ else if (open_pipes->out)
+ aTHX = open_pipes->out->thx;
+ else if (open_pipes->in)
+ aTHX = open_pipes->in->thx;
#endif
if ((sts = my_pclose(open_pipes->fp)) == -1) retsts = vaxc$errno;
else if (!(sts & 1)) retsts = sts;