mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
first show to make 's' work with size_t
This commit is contained in:
parent
ee552b628c
commit
3234480827
176 changed files with 738 additions and 711 deletions
|
@ -72,7 +72,7 @@ static request_rec *php_apache_lookup_uri(char *filename TSRMLS_DC)
|
|||
PHP_FUNCTION(virtual)
|
||||
{
|
||||
char *filename;
|
||||
int filename_len;
|
||||
size_t filename_len;
|
||||
request_rec *rr;
|
||||
|
||||
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p", &filename, &filename_len) == FAILURE) {
|
||||
|
@ -119,7 +119,7 @@ PHP_FUNCTION(apache_lookup_uri)
|
|||
{
|
||||
request_rec *rr;
|
||||
char *filename;
|
||||
int filename_len;
|
||||
size_t filename_len;
|
||||
|
||||
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p", &filename, &filename_len) == FAILURE) {
|
||||
return;
|
||||
|
@ -222,7 +222,7 @@ PHP_FUNCTION(apache_note)
|
|||
{
|
||||
php_struct *ctx;
|
||||
char *note_name, *note_val = NULL;
|
||||
int note_name_len, note_val_len;
|
||||
size_t note_name_len, note_val_len;
|
||||
char *old_note_val=NULL;
|
||||
|
||||
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", ¬e_name, ¬e_name_len, ¬e_val, ¬e_val_len) == FAILURE) {
|
||||
|
@ -254,7 +254,7 @@ PHP_FUNCTION(apache_setenv)
|
|||
{
|
||||
php_struct *ctx;
|
||||
char *variable=NULL, *string_val=NULL;
|
||||
int variable_len, string_val_len;
|
||||
size_t variable_len, string_val_len;
|
||||
zend_bool walk_to_top = 0;
|
||||
int arg_count = ZEND_NUM_ARGS();
|
||||
request_rec *r;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue