]> granicus.if.org Git - php/commitdiff
typos in comments and other minor improvements
authorAntony Dovgal <tony2001@php.net>
Thu, 10 Aug 2006 13:44:00 +0000 (13:44 +0000)
committerAntony Dovgal <tony2001@php.net>
Thu, 10 Aug 2006 13:44:00 +0000 (13:44 +0000)
ext/mysqli/tests/028.phpt
ext/standard/tests/file/bug22414.phpt
sapi/apache2handler/sapi_apache2.c

index 021804540d01fd48634bd36f069510d5d3cd3fb2..0e897d86f8cfe445e453d4099f231b652ef191d1 100644 (file)
@@ -15,5 +15,5 @@ function test: mysqli_character_set_name
 
        mysqli_close($link);
 ?>
---EXPECT--
-string(6) "latin1"
+--EXPECTF--
+string(%d) "%s"
index 4f490ddf7477c24a73ce2ef1bc48b0b7051dc47a..e1f9a5c025cefac042c8f1ea30a9cbfa969f06bf 100644 (file)
@@ -14,7 +14,6 @@ output_handler=
        echo "\n";
 
        /* Binary Data Test */
-       @unlink($pwd . '/passthru_test');
        
        $cmd = $php . ' -n -r \"readfile(@getenv(\'TEST_PHP_EXECUTABLE\')); \"';
        $cmd = $php . ' -n -r \' passthru("'.$cmd.'"); \' > '.$tmpfile ;
index 346c2a462ed67c71e540e2cf021d14e0bba11bec..02c67a17f35dd05c379d3ba910247317ee4b57e1 100644 (file)
@@ -232,12 +232,12 @@ php_apache_sapi_register_variables(zval *track_vars_array TSRMLS_DC)
        php_struct *ctx = SG(server_context);
        const apr_array_header_t *arr = apr_table_elts(ctx->r->subprocess_env);
        char *key, *val;
-       
+
        APR_ARRAY_FOREACH_OPEN(arr, key, val)
                if (!val) val = "";
                php_register_variable(key, val, track_vars_array TSRMLS_CC);
        APR_ARRAY_FOREACH_CLOSE()
-               
+
        php_register_variable("PHP_SELF", ctx->r->uri, track_vars_array TSRMLS_CC);
 }
 
@@ -525,7 +525,7 @@ normal:
 
        /* Setup the CGI variables if this is the main request */
        if (r->main == NULL ||
-               /* .. or if the sub-request envinronment differs from the main-request. */
+               /* .. or if the sub-request environment differs from the main-request. */
                r->subprocess_env != r->main->subprocess_env
        ) {
                /* setup standard CGI variables */