At 11:20 PM -0400 8/22/05, John E. Malmberg wrote:
>The test lib/math/bigint/t/mbi_rand needs a larger PERL_MBX_SIZE than the 
>default of 512 bytes.
>
>A setting of 1024 seems to make the test pass.
>
>This logical name needs to be set before running the test, so it either needs 
>to be put somewhere in [.vms]test.com or in the TEST perl script that it runs.
>
>It looks like this is related to extra new lines showing up on output from 
>piped children on VMS perl on the record boundaries.
>
>I am also seeing this failure on Perl 5.8.7 on VMS.

You're really better off just changing all the print statements of the form:

print "foo", "\n";

to

print "foo" . "\n";

That way you'll have a single I/O that won't generate a record
boundary in the mailbox underlying the pipe.  This is really a bug in
our piping implementation, one very likely inherent in any pipe
implementation based on mailboxes, which are fundamentally
record-oriented devices.  We desperately need a pipe implementation
based on sockets or --- preferably -- global sections, or at least a
clean way to fall back the the CRTL pipe implementation, which may
already have such improvements in VMS v8.x.  In the meantime,
modifying the test to have something that is still idiomatic Perl but
doesn't require any special casing seems the least annoying
alternative (or at least I've been annoying people with patches of
this type for years and they seem to tolerate it).
-- 
________________________________________
Craig A. Berry
mailto:[EMAIL PROTECTED]

"... getting out of a sonnet is much more
 difficult than getting in."
                 Brad Leithauser

Reply via email to