Re: [PHP-DEV] 64bit PHP on solaris
[email protected] (Chris Field) 13 Mar 2003 11:23:12 -0500
| Newsgroups | php.dev |
|---|---|
| Organization | Affinity Solutions |
| Message-ID | <1047572592.1017.114.camel@tuxsrv> |
--=-kix3chhymXpB9hLJk9CG Content-Type: text/plain Content-Transfer-Encoding: quoted-printable I am working off a checkout from about three days ago... On Thu, 2003-03-13 at 11:21, Wez Furlong wrote: > Make sure that you are using the latest stable snapshot from > http://snaps.php.net; a number of 64bit issues have already been addresse= d. >=20 > --Wez. >=20 > On Thu, 13 Mar 2003, Chris Field wrote: >=20 > > We have been attempting to run php on a brand new sun v880, and have ha= d > > a number of problems. > > > > first file_get_contents & readfile both core dump with bus errors b/c > > the file descriptors are typed as int's when they should be longs > > (steams.c lines 1020/1156) > > > > second, and far stranger is when you open a file with the mode 'a' it > > opens it the does a seek using SEEK_CUR which leaves the file pointer a= t > > the beginning of the file, shouldn't that bee a SEEK_END? Altering tha= t > > results in expected functionality, will it break anything else? > > > > third, and even stranger, is in php_spn_common_handler it calls: > > zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|ll", &s11, > > &len1, &s22, &len2, &start, &len) > > > > the va_list has the correct values for the length of the two strings > > passed in, however the lengths are never assigned into len1 and len2, a= s > > it seems they should be. Any ideas about why this is, I am kind of at = a > > loss, in the mean time I simply set the lengths of the two strings in > > php_spn_common_handler after the parse_parameters function returns whic= h > > fixes it. > > > > > > -- > > Chris Field > > [email protected] > > Affinity Solutions Inc. > > 386 Park Avenue South > > Suite 1209 > > New York, NY 10016 > > (212) 685-8748 ext. 32 > > --=20 Chris Field [email protected] Affinity Solutions Inc. 386 Park Avenue South Suite 1209 New York, NY 10016 (212) 685-8748 ext. 32 --=-kix3chhymXpB9hLJk9CG Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQA+cLBwkTUAUyBR2GYRAjHUAJ960LXn3nCU326uc5Hm9a8J8/yfggCgmGKL iJ1LQ6uRPCrvvZYC0kmKo+w= =L6QD -----END PGP SIGNATURE----- --=-kix3chhymXpB9hLJk9CG--