#20994 [Fbk->NoF]: int/long confusion in 64bits machine

From: Date: Tue, 31 Dec 2002 07:00:06 +0000
Subject: #20994 [Fbk->NoF]: int/long confusion in 64bits machine
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-28819@lists.php.net to get a copy of this message
ID: 20994 Updated by: php-bugs@lists.php.net Reported By: soula@lifl.fr -Status: Feedback +Status: No Feedback Bug Type: Scripting Engine problem Operating System: any 64bit PHP Version: 4.3.0RC3 New Comment: No feedback was provided for this bug for over 2 weeks, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". Previous Comments: ------------------------------------------------------------------------ [2002-12-16 00:17:43] tom@minnesota.com The patch provided fixed the unaligned access errors on my NetBSD/Alpha-1.6 machine (64-bit). However, it also caused: header("Location: ..."); to fail for redirections. Examining the patch, it does patch that function. I'm not sure why it breaks. ------------------------------------------------------------------------ [2002-12-15 22:27:39] msopacua@php.net Yes, but I tested the patch under AIX/64bit, and I got a broken build. Not sure whether this is related to my machine, the patch or the combination, but for now - I'd rather investigate. Additionally - AIX uses a long for tv_usec only under certain conditions. Otherwise it's a signed int, so the patch needs work, regardless. ------------------------------------------------------------------------ [2002-12-14 14:43:20] tom@minnesota.com This issue will cause segmentation faults under php cgi NetBSD/Alpha-1.6. ------------------------------------------------------------------------ [2002-12-14 12:53:44] msopacua@php.net FYI: there's a README.SUBMITTING_PATCH in the distribution, containing the guidelines for ... submitting a patch. ------------------------------------------------------------------------ [2002-12-14 03:50:29] sniper@php.net Could you provide that patch in unified diff format? And against the CVS HEAD? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/20994 -- Edit this bug report at http://bugs.php.net/?id=20994&edit=1

« previous php.bugs (#28819) next »