Hi Tony The attached patch correct some typo in fpm: replacing spaces by tabs as in all files in fpm.
++ Jerome
Index: sapi/fpm/fpm/fpm_atomic.h =================================================================== --- sapi/fpm/fpm/fpm_atomic.h (révision 292067) +++ sapi/fpm/fpm/fpm_atomic.h (copie de travail) @@ -35,7 +35,7 @@ __asm__ volatile ( "lock;" "cmpxchgl %3, %1;" "sete %0;" : "=a" (res) : "m" (*lock), "a" (old), "r" (set) : "memory"); - return res; + return res; } /* }}} */ Index: sapi/fpm/fpm/fastcgi.h =================================================================== --- sapi/fpm/fpm/fastcgi.h (révision 292067) +++ sapi/fpm/fpm/fastcgi.h (copie de travail) @@ -76,12 +76,12 @@ } fcgi_begin_request_rec; typedef struct _fcgi_end_request { - unsigned char appStatusB3; - unsigned char appStatusB2; - unsigned char appStatusB1; - unsigned char appStatusB0; - unsigned char protocolStatus; - unsigned char reserved[3]; + unsigned char appStatusB3; + unsigned char appStatusB2; + unsigned char appStatusB1; + unsigned char appStatusB0; + unsigned char protocolStatus; + unsigned char reserved[3]; } fcgi_end_request; typedef struct _fcgi_end_request_rec { Index: sapi/fpm/fpm/fpm_main.c =================================================================== --- sapi/fpm/fpm/fpm_main.c (révision 292067) +++ sapi/fpm/fpm/fpm_main.c (copie de travail) @@ -164,7 +164,7 @@ {'v', 0, "version"}, {'y', 1, "fpm-config"}, {'z', 1, "zend-extension"}, - {'T', 1, "timing"}, + {'T', 1, "timing"}, {'-', 0, NULL} /* end of args */ }; @@ -348,8 +348,8 @@ #define SAPI_CGI_MAX_HEADER_LENGTH 1024 typedef struct _http_error { - int code; - const char* msg; + int code; + const char* msg; } http_error; static const http_error http_error_codes[] = { @@ -989,8 +989,8 @@ " -s Display colour syntax highlighted source.\n" " -v Version number\n" " -w Display source with stripped comments and whitespace.\n" - " -y, --fpm-config <file>\n" - " Specify alternative path to FastCGI process manager config file.\n" + " -y, --fpm-config <file>\n" + " Specify alternative path to FastCGI process manager config file.\n" " -z <file> Load Zend extension <file>.\n" " -T <count> Measure execution time of script repeated <count> times.\n", prog, prog); @@ -1166,8 +1166,8 @@ } if (env_path_translated != NULL && env_redirect_url != NULL && - env_path_translated != script_path_translated && - strcmp(env_path_translated, script_path_translated) != 0) { + env_path_translated != script_path_translated && + strcmp(env_path_translated, script_path_translated) != 0) { /* * pretty much apache specific. If we have a redirect_url * then our script_filename and script_name point to the @@ -1688,9 +1688,9 @@ #else php_printf("PHP %s (%s) (built: %s %s)\nCopyright (c) 1997-2009 The PHP Group\n%s", PHP_VERSION, sapi_module.name, __DATE__, __TIME__, get_zend_version()); #endif - php_request_shutdown((void *) 0); - exit_status = 0; - goto out; + php_request_shutdown((void *) 0); + exit_status = 0; + goto out; } } php_optind = orig_optind;
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php