Re: [PHP4BETA] cvs: /php4 SAPI.c

From: Date: Fri, 25 Feb 2000 15:26:06 +0000
Subject: Re: [PHP4BETA] cvs: /php4 SAPI.c
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-10952@lists.php.net to get a copy of this message
Hold your horses, I was not finished (had to go home to kill a colony of ants that just moved into the house because the lawn was flooded, I miss Norway!) - Stig "Thies C. Arntzen" wrote: > > thies Fri Feb 25 02:11:13 2000 EDT > > Modified files: > /php4 SAPI.c > Log: > fix obvious crash. > > stig, in sgi-mode i still "only" get: > > (haven't touched my .ini file in ages - and don't plan to) > > X-Powered-By: PHP/4.0b5-dev > Content-type: iso-8859-1 <<< where is text/html? > > > > > Index: php4/SAPI.c > diff -u php4/SAPI.c:1.59 php4/SAPI.c:1.60 > --- php4/SAPI.c:1.59 Thu Feb 24 14:00:47 2000 > +++ php4/SAPI.c Fri Feb 25 02:10:43 2000 > @@ -389,6 +389,7 @@ > sapi_header_struct default_header; > int len = SG(sapi_headers).default_content_type_size + > sizeof("Content-type: "); > > + default_header.header = emalloc(len); > strcpy(default_header.header, "Content-type: > "); > strlcat(default_header.header, > SG(sapi_headers).default_content_type, len); > default_header.header[len - 1] = '\0'; > > -- > PHP 4.0 Beta Mailing List <http://www.php.net/version4/> > To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net > For additional commands, e-mail: php4beta-help@lists.php.net > To contact the list administrators, e-mail: php4beta-admin@lists.php.net

« previous php.version4 (#10952) next »