#20433 [Com]: Unaligned access error messages at runtime
ID: 20433
Comment by: soula@lifl.fr
Reported By: bfischer@syslog.ch
Status: Closed
Bug Type: Compile Warning
Operating System: Tru64, NetBSD(Alpha platform)
PHP Version: 4.3.0-RC1
Assigned To: helly
New Comment:
I work on ALPHA/Tru64 with the same pb as above. But I've found 4 more
fix (cf. patch at the end).
Moreover, there is another source of confusion with int/long in
"zend_parse_parameters()" function. The variable for token "l" should
be a long and the 2nd variable for token "s" should be a int.
This patch fix (I hope) these pb :
ftp://codon.genopole-lille.fr/pub/php-4.3.0RC2-stat+onupdateint+zendparam.patch
Previous Comments:
------------------------------------------------------------------------
[2002-11-30 12:39:49] helly@php.net
This bug has been fixed in CVS.
In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
------------------------------------------------------------------------
[2002-11-30 10:35:24] helly@php.net
The problem is OnUpdateInt which will result in an error on 64bit
systems. Compiling and testing now.
------------------------------------------------------------------------
[2002-11-16 10:47:30] nohn@php.net
Verified on NetBSD/Alpha.
------------------------------------------------------------------------
[2002-11-15 05:34:33] nohn@php.net
Verified with 4.3.0RC1
------------------------------------------------------------------------
[2002-11-14 15:34:13] bfischer@syslog.ch
When testing cli/cgi, unaligned access messages are displayed.
Following modifications fixes problem.
in main/php_globals.h
int log_errors_max_len
changed to
long log_errors_max_len
in ext/standard/file.h
int default_socket_timeout
int auto_detect_line_endings
changed to
long default_socket_timeout
long auto_detect_line_endings
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20433&edit=1
Thread (7 messages)