[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: tux+php
- From: Alex Antropoff <alex tirastel md>
- To: tux-list redhat com
- Subject: Re: tux+php
- Date: Sat, 2 Mar 2002 20:39:15 +0200
On Sat, Mar 02, 2002 at 08:32:57PM +0200, Valkanas Nikos wrote:
> Reagardless, I have found several products claiming that gcc-2.96 and higher (gcc-3.xx) produce broken code. They suggest downgrading to gcc-2.92 till gcc-2.94. I myself downgraded to gcc-2.93 (requires downgrading cpp to 2.93 and libstd++ to the same level). I will try to implement the mime_types php support using this compiler. If 2.96 is OK, then my build should work the same with the 2.96 compiler.
>
> Alex could you please post the diff output (along with the tux version) so that I can patch my php_tux.c exactly like you? Also where can I download the latest tux code? (I've heard Ingo is ready to post another release)
>
> Thanks,
> Nikos
It's so simple, what I didn't think that diff is needed :-)
--
Regards,
Alex Antropoff
--- php_tux.c.orig Sat Mar 2 00:58:18 2002
+++ php_tux.c Sat Mar 2 02:56:51 2002
@@ -105,6 +105,7 @@
snprintf(buf, 1023, "HTTP/1.1 %d NA\r\n", SG(sapi_headers).http_response_code);
vec = malloc(sizeof(struct iovec) * max_headers);
+ memset(vec,0,sizeof(struct iovec) * max_headers);
vec[n].iov_base = strdup(buf);
vec[n++].iov_len = strlen(buf);
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]