svn: /php/php-src/branches/PHP_5_3_FPM/sapi/fpm/fpm/ fastcgi.h fpm_atomic.h fpm_main.c
| From: | Antony Dovgal | Date: | Mon, 14 Dec 2009 09:18:53 +0000 |
| Subject: | svn: /php/php-src/branches/PHP_5_3_FPM/sapi/fpm/fpm/ fastcgi.h fpm_atomic.h fpm_main.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-61270@lists.php.net to get a copy of this message | ||
tony2001 Mon, 14 Dec 2009 09:18:53 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=292115
Log:
fix ws (patch by Jerome Loyet)
Changed paths:
U php/php-src/branches/PHP_5_3_FPM/sapi/fpm/fpm/fastcgi.h
U php/php-src/branches/PHP_5_3_FPM/sapi/fpm/fpm/fpm_atomic.h
U php/php-src/branches/PHP_5_3_FPM/sapi/fpm/fpm/fpm_main.c
Modified: php/php-src/branches/PHP_5_3_FPM/sapi/fpm/fpm/fastcgi.h
===================================================================
--- php/php-src/branches/PHP_5_3_FPM/sapi/fpm/fpm/fastcgi.h 2009-12-14 09:17:21 UTC (rev 292114)
+++ php/php-src/branches/PHP_5_3_FPM/sapi/fpm/fpm/fastcgi.h 2009-12-14 09:18:53 UTC (rev 292115)
@@ -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 {
Modified: php/php-src/branches/PHP_5_3_FPM/sapi/fpm/fpm/fpm_atomic.h
===================================================================
--- php/php-src/branches/PHP_5_3_FPM/sapi/fpm/fpm/fpm_atomic.h 2009-12-14 09:17:21 UTC (rev 292114)
+++ php/php-src/branches/PHP_5_3_FPM/sapi/fpm/fpm/fpm_atomic.h 2009-12-14 09:18:53 UTC (rev 292115)
@@ -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;
}
/* }}} */
Modified: php/php-src/branches/PHP_5_3_FPM/sapi/fpm/fpm/fpm_main.c
===================================================================
--- php/php-src/branches/PHP_5_3_FPM/sapi/fpm/fpm/fpm_main.c 2009-12-14 09:17:21 UTC (rev 292114)
+++ php/php-src/branches/PHP_5_3_FPM/sapi/fpm/fpm/fpm_main.c 2009-12-14 09:18:53 UTC (rev 292115)
@@ -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;