develooper Front page | perl.perl5.porters | Postings from December 2013

[perl #8837] Perl 5.7.3 test failures on Cray T90, T3E

Thread Previous | Thread Next
From:
James E Keenan via RT
Date:
December 16, 2013 02:38
Subject:
[perl #8837] Perl 5.7.3 test failures on Cray T90, T3E
Message ID:
rt-4.0.18-18206-1387161472-1248.8837-15-0@perl.org
On Wed Mar 13 09:09:40 2002, RT_System wrote:
> On Wed, Mar 13, 2002 at 08:14:53PM +0200, Jarkko Hietaniemi wrote:
> [...]
> > =head2 UNICOS and UNICOS/mk
> > 
> > The io/fs test #31 is failing because in UNICOS and UNICOS/mk
> > truncate() cannot be used to grow the size of filehandles, only
> > to reduce the size.  The workaround is to truncate files instead
> > of filehandles.
> 
> I just tried a quick experiment, and it appears that truncate() and
> ftruncate() can be used to grow files and filehandles, respectively,
> on both the T90 and the T3E.  (It may be different on the J90,
> which is likely running an older version of UNICOS.)  On the T3E,
> the new portion of the file is filled with '\0's; on the T90, it's
> filled with garbage.
> 
> The man page doesn't specifically say anything about the behavior
> of truncate() or ftruncate() when the specified size is greater than
> the current size of the file.  It does say this:
> 
>      These are compatibility functions, which are provided to aid in the
>      porting of code from other systems.  They are implemented through a
>      combination of open(2), lseek(2), and trunc(2) system calls.
> 

There has been no correspondence in this RT for more than eleven years.

Is there anyone with access to Cray who could comment on how more recent Perls do on that platform?

Thank you very much.
Jim Keenan


---
via perlbug:  queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=8837

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About