summaryrefslogtreecommitdiff
path: root/vms
diff options
context:
space:
mode:
authorCraig A. Berry <craigberry@mac.com>2010-01-05 22:06:03 -0600
committerCraig A. Berry <craigberry@mac.com>2010-01-05 22:06:03 -0600
commitdf17c887edae24b6fb41930323837b575d27a7df (patch)
tree31fa4bdce568e844820e2fe77921626cf2e1c646 /vms
parenta1bd83cf3e00be35d6d0ee49d6ed4d1506c6cc67 (diff)
downloadperl-df17c887edae24b6fb41930323837b575d27a7df.tar.gz
Increase default pipe buffer size on VMS to 8192 on 64-bit systems.
As Charles Lane's piping code reaches its 10-year anniversary, it's time to bump up the default to something slightly more appropriate for modern systems. In addition to other benefits, this fixes test failures when a test script outputs a large amount of text on one line (e.g., t/re/reg_posixcc.t).
Diffstat (limited to 'vms')
-rw-r--r--vms/vms.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/vms/vms.c b/vms/vms.c
index c3af096a3d..45bfe21976 100644
--- a/vms/vms.c
+++ b/vms/vms.c
@@ -2885,7 +2885,11 @@ int test_unix_status;
/* default piping mailbox size */
-#define PERL_BUFSIZ 512
+#ifdef __VAX
+# define PERL_BUFSIZ 512
+#else
+# define PERL_BUFSIZ 8192
+#endif
static void