summaryrefslogtreecommitdiff
path: root/vms/vms.c
diff options
context:
space:
mode:
authorCharles Bailey <bailey@newman.upenn.edu>2000-02-28 02:43:56 +0000
committerbailey <bailey@newman.upenn.edu>2000-02-28 02:43:56 +0000
commitc214fe26de32f4cec0ba0d6d303c73b7628da952 (patch)
tree5545db236e6442787ea75a72dfc3330b15744d73 /vms/vms.c
parent498336edc6b1e69abc577226cc67017e7a31640e (diff)
downloadperl-c214fe26de32f4cec0ba0d6d303c73b7628da952.tar.gz
Don't wait for subprocess to read final EOF
p4raw-id: //depot/vmsperl@5300
Diffstat (limited to 'vms/vms.c')
-rw-r--r--vms/vms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vms/vms.c b/vms/vms.c
index deae32f998..f8d93bb245 100644
--- a/vms/vms.c
+++ b/vms/vms.c
@@ -1123,7 +1123,7 @@ I32 Perl_my_pclose(pTHX_ FILE *fp)
/* If we were writing to a subprocess, insure that someone reading from
* the mailbox gets an EOF. It looks like a simple fclose() doesn't
* produce an EOF record in the mailbox. */
- if (info->mode != 'r' && !info->done) pipe_eof(info->fp,0);
+ if (info->mode != 'r' && !info->done) pipe_eof(info->fp,1);
PerlIO_close(info->fp);
if (info->done) retsts = info->completion;