Hi,

I successfully installed PHP 4.3.0RC2 on Tru64 v5.1, using native compiler. I want to report the only minor problem I found.

In file main/php_content_type.c, one of the commend is introduced by // instead of being enclosed between /* and */. This C++ like comment is not supported by native C compiler on T64 5.1. Below is the trivial patch. May be, as it is the only location this // comment has been used, it is better to stay with old : /* */.

Good luck and thanks for the nice PHP.

Michel

*** php_content_types.c Fri Dec 6 14:37:08 2002
--- php_content_types.c.original Fri Dec 6 14:51:58 2002
***************
*** 40,46 ****
char *data = NULL;
int length = 0;

! /* $HTTP_RAW_POST_DATA registration */
if(!strcmp(SG(request_info).request_method, "POST")) {
if(NULL == SG(request_info).post_entry) {
/* no post handler registered, so we just swallow the data */
--- 40,46 ----
char *data = NULL;
int length = 0;

! // $HTTP_RAW_POST_DATA registration
if(!strcmp(SG(request_info).request_method, "POST")) {
if(NULL == SG(request_info).post_entry) {
/* no post handler registered, so we just swallow the data */


*************************************************************
* Michel Jouvin Email : [EMAIL PROTECTED] *
* LAL / CNRS Tel : +33 1 64468932 *
* B.P. 34 Fax : +33 1 69079404 *
* 91898 Orsay Cedex *
* France *
*************************************************************



--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to