On Mon, 31 Jan 2005, Craig Berry wrote:
>
> On Monday, January 31, 2005, John E. Malmberg wrote:
>
> >The configure tests for largefile support is based on if the integer type
> >is native 64 bits.
>
> I believe 64-bit integers and large file support now work correctly
> (and independently) in bleadperl and those changes should make it
> into 5.8.7.

Unfortunately you did not implement the not very well documented but
present lstat() routine which is about to start returning something
different than stat().

It looks like I need to copy how stat() was done for lstat().

Also affecting this is now with 64 bit OpenVMS 8.2, there is a new
struct stat that is incompatible with either struct mystat flavor in perl.
It also removes most of the hacks that perl was doing to fill out the
mystat structure.

> >
> >If largefile support is to be present, then the resulting config.h needs
> >to have a #define _LARGEFILE 1 in it.
>
> I think I tried that, but that's too late.  The CRTL headers that need to
> see _LARGEFILE get included before config.h, so it had to be added on the
> command line via /DEFINE=_LARGEFILE.

Why not just #include "config.h" before including the other headers?
It does not appear to do any harm to including it twice at a quick glance.

> >Is there an easy solution to this?
>
> No, it wasn't easy, but the good new is "wasn't" is past tense.  It was
> easier to port Perl to Itanium than it was to make it recognize and
> support the large file capabilities in the CRTL, but it's done and
> working as far as I know.

Unless you want to take advantage of the new standard compliant stat()
routines for 64 bit OpenVMS 8.2 to optimize the code.

-John
[EMAIL PROTECTED]
Personal Opinion Only

Reply via email to