Re: [PHP-DEV] Re: ext/ming doesn't compile..r

2002-03-17 Thread Wez Furlong
Hmmm; I don't have leaks here with normal stuff. Which sapi are you using? Can you give me a script that reproduces it? --Wez. On 17/03/02, Jani Taskinen [EMAIL PROTECTED] wrote: Those leaks weren't ming related at all. Just 'normal' stuff in PHP. ie. file(), fopen(),

[PHP-DEV] Re: ext/ming doesn't compile..

2002-03-16 Thread Wez Furlong
I don't have ming, so I can't test it :-/ I do remember changing some parts; could you send me the error messages and I'll try and fix it up. --Wez. On 16/03/02, Jani Taskinen [EMAIL PROTECTED] wrote: I noticed that you didn't convert ext/ming to this streams thingie yet. It doesn't

Re: [PHP-DEV] Re: ext/ming doesn't compile..

2002-03-16 Thread Jani Taskinen
ext/ming/ming.c: In function `NewSWFInput_sock': ext/ming/ming.c:221: warning: implicit declaration of function `SOCK_FREAD' ext/ming/ming.c: In function `GetInput': ext/ming/ming.c:239: `PHP_STREAM_AS_STDIO_FILE' undeclared (first use in this function) ext/ming/ming.c:239: (Each undeclared

Re: [PHP-DEV] Re: ext/ming doesn't compile..

2002-03-16 Thread Wez Furlong
Hi Jani, Please try my latest commit. --Wez. On 16/03/02, Jani Taskinen [EMAIL PROTECTED] wrote: ext/ming/ming.c: In function `NewSWFInput_sock': ext/ming/ming.c:221: warning: implicit declaration of function `SOCK_FREAD' ext/ming/ming.c: In function `GetInput': ext/ming/ming.c:239:

Re: [PHP-DEV] Re: ext/ming doesn't compile..

2002-03-16 Thread Jani Taskinen
Compiles now nicely. (after my tiny typo fixes :) btw. This streams stuff leaks a bit: /main/streams.c(443) : Freeing 0x0823EC1C (8 bytes) /main/streams.c(52) : Freeing 0x0834ADDC (48 bytes) These are repeated few times. (sorry, I don't know what is causing

Re: [PHP-DEV] Re: ext/ming doesn't compile..

2002-03-16 Thread Wez Furlong
I think it is due to a forgotten stream_close in ming.c; fix going in now... --Wez. On 17/03/02, Jani Taskinen [EMAIL PROTECTED] wrote: Compiles now nicely. (after my tiny typo fixes :) Thanks :-) btw. This streams stuff leaks a bit: /main/streams.c(443) : Freeing 0x0823EC1C (8

Re: [PHP-DEV] Re: ext/ming doesn't compile..r

2002-03-16 Thread Jani Taskinen
Those leaks weren't ming related at all. Just 'normal' stuff in PHP. ie. file(), fopen(), include()..etc. --Jani On Sun, 17 Mar 2002, Wez Furlong wrote: I think it is due to a forgotten stream_close in ming.c; fix going in now... --Wez. On 17/03/02, Jani Taskinen