Jani Taskinen wrote:
Is this really correct (rfc1867.c):
- register_http_post_files_variable(lbuf, s+1, http_post_files, 0
+ register_raw_var(lbuf, s+1, strlen(s+1), files_vars TSRMLS_CC);
That 'strlen(s+1)' looks kinda wrong..?
And to not cause more compile failures, configure option
--enable-maintainer-zts helps. :)
It's correct. We're registering a string starting from s+1 position, so we need to get the
length starting from that position too.
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php