Re: [PATCH] - fix for 64 bit issues with OnUpdateInt
| From: | Sascha Schumann | Date: | Fri, 28 Feb 2003 15:56:15 +0000 |
| Subject: | Re: [PATCH] - fix for 64 bit issues with OnUpdateInt | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-94678@lists.php.net to get a copy of this message | ||
> That's also an option but I think OnUpdateInt() is confusing and how do we
> stop ppl from using it in new extensions which who's commit messages aren't
> followed via php-cvs?
I volunteer to set up a cron job which greps for OnUpdateInt
:-)
The problem with _changing_ the existing semantics is that
programmers will not notice that they need to adapt types
from long to int. That leaves 64 bit platforms with a new
set of problems, because the upper half of the long won't be
initialized.
- Sascha