On Tue, Apr 24, 2007 at 07:22:39PM +0000, Paul Pruett wrote:
> "
>  files/patch-SharedMem.pm
> 
> What this patch does is to hard-wire native size to 4 (32-bits).
> On FreeBSD, Perl is configured with -Duse64bitint by default and the
> method that is used by SharedMem.pm to determine architectural bit
> width incorrectly considers an i386 machine as 64-bit capable.  I'm
> not a perl expert -- in fact, I hate perl -- and I really have no
> idea how to properly determine pointer size in Perl, so this patch
> exists.  Obviously, if you are running FreeBSD-AMD64 (or Alpha or
> something, although I have no idea if this software would work on
> that architecture), you will want to get rid of this patch file.
> Just delete it _before_ you make.
> "

It's amazing how some people are able to write an entire essay about
what will take someone 3 seconds or such to figure out.

$ perl -le 'use Config; print $Config{ptrsize}'
4
$ perl -V:ptrsize
ptrsize='4';

Reply via email to