Re: [PATCH] 64 bit PHP (long vs int problems) (fault)

From: Date: Thu, 26 Sep 2002 08:10:17 +0000
Subject: Re: [PATCH] 64 bit PHP (long vs int problems) (fault)
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-88626@lists.php.net to get a copy of this message
> Hi, > > I has explain that problem in 1 week ago, and what they said to me is "Your > not on the good list" > c.f: We are on PHP-_DEV_ isn't it ? > > and, well i'v the sames problem of you plus we can use a long integer in > PHP. Sorry, we can not use. > > Best Regards, > Vergoz Michael > > ----- Original Message ----- > From: "Jason Greene" <jason@php.net> > To: <php-dev@lists.php.net> > Sent: Thursday, September 26, 2002 5:52 AM > Subject: [PHP-DEV] [PATCH] 64 bit PHP (long vs int problems) > > > > Hello all, > > > > After attempting to compile php on solaris as a 64 bit executable, and > > resolving the attempt to link libcrack (32bit lib), I was greated with a > > nice Bus Error. > > > > Upon examining the source, it looks like their are alot of areas where > > longs and ints are used interchangeably. This is not good since a 64 bit > > solaris executable has 64 bit longs, and 32 bit ints. > > > > I have thrown together an initial patch that fixes this, but it does > > make make some changes that should be thought about. (such as using a > > long instead of an int for memmory limit and size counting) However, > > Overall it should not make too big a difference. (especially on the > > primarily targetted platforms whose ints and longs are the same) > > > > I did not check anything but the core extensions, so those will need to > > be looked at next. > > > > If no one throws any major objects, I will put together a better version > > of this patch and commit it upon completion. > > > > Thanks, > > > > -- > > Jason Greene <jason@php.net> > > > > > -------------------------------------------------------------------------- -- > ---- > > > > -- > > PHP Development Mailing List <http://www.php.net/> > > To unsubscribe, visit: http://www.php.net/unsub.php > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.dev (#88626) next »