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(),
 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 [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 bytes)
  /main/streams.c(52) :  Freeing 0x0834ADDC (48 bytes)
 
 
 
 
 
 -- 
 
 
 -- 
 PHP Development Mailing List http://www.php.net/
 To unsubscribe, visit: http://www.php.net/unsub.php




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




[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 compile now.
 
 --Jani




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




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 identifier is reported only once
ext/ming/ming.c:239: for each function it appears in.)
ext/ming/ming.c: In function `Destroy_SWFFont_resource':
ext/ming/ming.c:1204: warning: implicit declaration of function `DestroySWFBlock'
ext/ming/ming.c: In function `Zif_swfmovie_save':
ext/ming/ming.c:1622: parse error before )'
ext/ming/ming.c:1630: `File' undeclared (first use in this function)
ext/ming/ming.c: At top level:
ext/ming/ming.c:209: warning: `NewSWFInput_sock' defined but not used
make: *** [ext/ming/ming.lo] Error 1



On Sat, 16 Mar 2002, Wez Furlong wrote:

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 compile now.
 
 --Jani






-- 


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




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: `PHP_STREAM_AS_STDIO_FILE' undeclared (first use in this 
function)
 ext/ming/ming.c:239: (Each undeclared identifier is reported only once
 ext/ming/ming.c:239: for each function it appears in.)
 ext/ming/ming.c: In function `Destroy_SWFFont_resource':
 ext/ming/ming.c:1204: warning: implicit declaration of function `DestroySWFBlock'
 ext/ming/ming.c: In function `Zif_swfmovie_save':
 ext/ming/ming.c:1622: parse error before )'
 ext/ming/ming.c:1630: `File' undeclared (first use in this function)
 ext/ming/ming.c: At top level:
 ext/ming/ming.c:209: warning: `NewSWFInput_sock' defined but not used
 make: *** [ext/ming/ming.lo] Error 1
 
 
 
 On Sat, 16 Mar 2002, Wez Furlong wrote:
 
 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 compile now.
  
  --Jani
 
 
 
 
 
 
 --




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




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 this..don't have time/energy 
to dig it up now..)

--Jani


On Sat, 16 Mar 2002, Wez Furlong wrote:

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: `PHP_STREAM_AS_STDIO_FILE' undeclared (first use in this 
function)
 ext/ming/ming.c:239: (Each undeclared identifier is reported only once
 ext/ming/ming.c:239: for each function it appears in.)
 ext/ming/ming.c: In function `Destroy_SWFFont_resource':
 ext/ming/ming.c:1204: warning: implicit declaration of function `DestroySWFBlock'
 ext/ming/ming.c: In function `Zif_swfmovie_save':
 ext/ming/ming.c:1622: parse error before )'
 ext/ming/ming.c:1630: `File' undeclared (first use in this function)
 ext/ming/ming.c: At top level:
 ext/ming/ming.c:209: warning: `NewSWFInput_sock' defined but not used
 make: *** [ext/ming/ming.lo] Error 1
 
 
 
 On Sat, 16 Mar 2002, Wez Furlong wrote:
 
 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 compile now.
  
  --Jani
 
 
 
 
 
 
 --




-- 


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




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 bytes)
 /main/streams.c(52) :  Freeing 0x0834ADDC (48 bytes)




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




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 [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 bytes)
 /main/streams.c(52) :  Freeing 0x0834ADDC (48 bytes)





-- 


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