Re: [PHP-DEV] emalloc() troubles

2002-12-29 Thread Yasuo Ohgaki
Derick Rethans wrote:

On Sat, 28 Dec 2002, Yasuo Ohgaki wrote:



PHP shouldn't leak memory even if output/input from/to external program
differs. It seems it's a PHP problem for this matter.



If you had read the thread you would have seen that the memory leak is 
only there in his patch.

I realized that now. Anyway, if there is problem with qmail,
I'll fix it iff I think it's really a problem.
Ari hasn't sent me detailed problem description, yet.

--
Yasuo Ohgaki



Derick



Ari Pollak wrote:


Unless you come up with a way to migrate 500+ virtualhosts to some other 
MTA, no, that is not feasible.
You can think of qmail like minix in both author and license, in that 
the author is really arrogant about changing the way his software 
behaves even though it's not standards-compliant, and you can't 
distribute modified binaries. And qmail has been on the same version for 
many years, so nobody is expecting him to actually put out a new version 
anytime soon.
In any case, I'm not expecting any qmail patch to actually go into PHP, 
but I'd really like to get this memory leak fixed for those who need 
this patch (me).

On Fri, Dec 27, 2002 at 11:00:32AM -0500, George Schlossnagle wrote:


qmail devs == djb, right?

If his support doesn't suffice (and you cant find it in the enormous 
un-merged patch contributions that seem to litter the qmail community 
websites), might I suggest a new MTA?  Exim works quite nicely.




--
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




Re: [PHP-DEV] Update: Quoting behaviour exposed

2002-12-29 Thread Sebastian Bergmann
Rasmus Lerdorf wrote:
 Sascha, we need to give you something constructive to work on...
 -Rasmus (top-posted with lots of quoted text just for you)

  If it brings Bad E-Mail Practices to the attention of the perps, I
  would consider it constructive. Sascha is not the only one annoyed by
  issues like bad quoting behaviour.

-- 
  Sebastian Bergmann
  http://sebastian-bergmann.de/ http://phpOpenTracker.de/

  Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/

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




[PHP-DEV] Can't sapi/apache2filter on Windows

2002-12-29 Thread Sebastian Bergmann
  Current HEAD

php_functions.obj: error LNK2001:
Unresolved external symbol: _ap_loaded_modules

-- 
  Sebastian Bergmann
  http://sebastian-bergmann.de/ http://phpOpenTracker.de/

  Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/

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




Re: [PHP-DEV] Win32 Build Quirks

2002-12-29 Thread Zeev Suraski
It appears the .dsp's were misconfigured (for future reference- we should 
never need to use 'ignore libraries' for any of the MSVC runtime 
libraries;  If we do - we have a problem somewhere else).

I suspect this happened around the time zlib support was added, and it was 
added improperly.  I added zlib as a brother directory to PHP, much like 
bindlib_w32.

Zeev

At 14:44 29/12/2002, Sebastian Bergmann wrote:
  For a long time I could use the following commands to build PHP on
  Windows

msdev php4ts.dsw /MAKE php4ts - Release_TS_inline /REBUILD
msdev php4ts.dsw /MAKE php4ts_cli - Release_TS_inline

  The first command did a clean build of the SAPI/CGI binary and the
  php4ts.dll. The second command did a build of the SAPI/CLI binary.

  When I do this now, I get a linker error during the second build.
  Doing a clean build of the SAPI/CLI binary works, but it doesn't
  make sense to me to rebuild the php4ts.dll.

  Another thing I noticed today is that when building PHP + ZendEngine2
  I get a

LINK: warning LNK4098: Standard library MSVCRT conflicts with
other libraries; Use /NODEFAULT:LIBRARY

  warning. Could this be related to the fdopen.c assertion failure I'm
  seeing with ZendEngine2 builds?

_fdopen(int 4, const char * 0x004159ac `string') line 54 + 63 bytes
php_stream_url_wrap_php(_php_stream_wrapper * 0x00e07fc0, char *
0x004159a2, char * 0x004159ac `string', int 8, char * * 0x,
_php_stream_context * 0x, int 1, char * 0x102bf174 `string',
unsigned int 2380, char * 0x00415348 `string', unsigned int 366, void * *
* 0x00da2738) line 144 + 33 bytes
_php_stream_open_wrapper_ex(char * 0x0041599c `string', char * 0x004159ac
`string', int 0, char * * 0x, _php_stream_context * 0x,
int 0, char * 0x00415348 `string', unsigned int 366, char * 0x,
unsigned int 0, void * * * 0x00da2738) line 2380 + 111 bytes
cli_register_file_handles(void * * * 0x00da2738) line 366 + 50 bytes
main(int 6, char * * 0x00da4f68) line 742 + 9 bytes
mainCRTStartup() line 338 + 17 bytes

--
  Sebastian Bergmann
  http://sebastian-bergmann.de/ http://phpOpenTracker.de/

  Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/

--
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




Re: [PHP-DEV] Win32 Build Quirks

2002-12-29 Thread Sebastian Bergmann
Zeev Suraski wrote:
 It appears the .dsp's were misconfigured

  I tested this with a fresh checkout of php4/ and ZendEngine2/ and still
  get the library conflict warning during a ZendEngine2 build. I did not
  yet test the other issue I mentioned in my previous mail.

-- 
  Sebastian Bergmann
  http://sebastian-bergmann.de/ http://phpOpenTracker.de/

  Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/

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




Re: [PHP-DEV] Win32 Build Quirks

2002-12-29 Thread Zeev Suraski
At 18:01 29/12/2002, Sebastian Bergmann wrote:

Zeev Suraski wrote:
 It appears the .dsp's were misconfigured

  I tested this with a fresh checkout of php4/ and ZendEngine2/ and still
  get the library conflict warning during a ZendEngine2 build. I did not
  yet test the other issue I mentioned in my previous mail.


It's zlib.  I'm not sure why people relied on users having zlib installed 
as a part of their standard libraries under Windows, but it's not a 
reasonable assumption...

checkout zlib, build it (under both Release and Debug), delete *.lib and 
*.dll from your PHP output directory, and relink.  I configured the zlib 
project to work properly with PHP.

Zeev


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



Re: [PHP-DEV] Win32 Build Quirks

2002-12-29 Thread Sebastian Bergmann
Zeev Suraski wrote:
 checkout zlib, build it (under both Release and Debug)

  Thank you Zeev, that did the trick. But I still wonder why I got this
  only with the Zend Engine 2 and not with the Zend Engine 1...

-- 
  Sebastian Bergmann
  http://sebastian-bergmann.de/ http://phpOpenTracker.de/

  Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/

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




Re: [PHP-DEV] emalloc() troubles

2002-12-29 Thread Ari Pollak
Again, I told you that I already fixed the problem from within PHP, but 
there's just one memory leak that I can't track down.

On Sun, Dec 29, 2002 at 06:39:18PM +0900, Yasuo Ohgaki wrote:
 I realized that now. Anyway, if there is problem with qmail,
 I'll fix it iff I think it's really a problem.
 Ari hasn't sent me detailed problem description, yet.

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




Re: [PHP-DEV] Win32 Build Quirks

2002-12-29 Thread Zeev Suraski
At 18:27 29/12/2002, Sebastian Bergmann wrote:

Zeev Suraski wrote:
 checkout zlib, build it (under both Release and Debug)

  Thank you Zeev, that did the trick. But I still wonder why I got this
  only with the Zend Engine 2 and not with the Zend Engine 1...


Probably due to different .dsp's (I assume you have two different checkouts 
of the PHP source tree?  Any chance one of them is modified)

Zeev


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



Re: [PHP-DEV] Update: Quoting behaviour exposed

2002-12-29 Thread Sascha Schumann
On Sun, 29 Dec 2002, Zeev Suraski wrote:

 At 11:46 29/12/2002, Sebastian Bergmann wrote:
 Rasmus Lerdorf wrote:
   Sascha, we need to give you something constructive to work on...
   -Rasmus (top-posted with lots of quoted text just for you)
 
If it brings Bad E-Mail Practices to the attention of the perps, I
would consider it constructive. Sascha is not the only one annoyed by
issues like bad quoting behaviour.

 As with PHP's featureset, php-dev is not a purists' place.  To each his
 own, we're not going to start applying quoting etiquette or calculate
 percentages.

Zeev, get off the high horse.  Jesus, a majestatis pluralis!
Or do you still think you can make decisions for everyone?

- Sascha

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




Re: [PHP-DEV] Update: Quoting behaviour exposed

2002-12-29 Thread Zeev Suraski
At 19:21 29/12/2002, Sascha Schumann wrote:

On Sun, 29 Dec 2002, Zeev Suraski wrote:

 At 11:46 29/12/2002, Sebastian Bergmann wrote:
 Rasmus Lerdorf wrote:
   Sascha, we need to give you something constructive to work on...
   -Rasmus (top-posted with lots of quoted text just for you)
 
If it brings Bad E-Mail Practices to the attention of the perps, I
would consider it constructive. Sascha is not the only one annoyed by
issues like bad quoting behaviour.

 As with PHP's featureset, php-dev is not a purists' place.  To each his
 own, we're not going to start applying quoting etiquette or calculate
 percentages.

Zeev, get off the high horse.  Jesus, a majestatis pluralis!


As much as it is amusing, tihiye besheket vetafsik lehishtamesh beLatinit.


Or do you still think you can make decisions for everyone?


So far, it appears you're the one who woke up on the wrong side of bed one 
day and decided to go out with a noble quest to change the world for 
everyone, and calculate just by how much you would change it, too.  If you 
intend to start applying your rules to email traffic on php-dev, all I can 
say is, try it next millennium (if you actually read the messages and not 
just analyze them with your pathetic script, maybe you would notice that 
that is what I said).  I'm fine with the way things are, and that's the 
last breath I'll spend on this not-very-intelligent topic.  I'll respond to 
your actions as necessary.

Zeev


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



Re: [PHP-DEV] Update: Quoting behaviour exposed

2002-12-29 Thread Sascha Schumann
 As much as it is amusing, tihiye besheket vetafsik lehishtamesh beLatinit.

If that language had interested me, I would have made my
Hebraicum in addition to the Latinum.

[snip off-topic]

If it has not been clear to you or anyone else -- this has
all been about drawing attention to the issues of proper
quoting.  If only one person starts to embrace some of the
available guidelines, it has been well worth it.

- Sascha

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




Re: [PHP-DEV] Win32 Build Quirks

2002-12-29 Thread Sebastian Bergmann
Zeev Suraski wrote:
 Probably due to different .dsp's (I assume you have two different
 checkouts of the PHP source tree?  Any chance one of them is modified)

  No, one checkout. For a Zend Engine 2 build I rename Zend to Zend1 and
  ZendEngine2 to Zend. (I know, this is dirty :-)

-- 
  Sebastian Bergmann
  http://sebastian-bergmann.de/ http://phpOpenTracker.de/

  Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/

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




Re: [PHP-DEV] Update: Quoting behaviour exposed

2002-12-29 Thread nicos
Hello,

I assume that we've all understood that point now. Can you(we) now stop
wasting your(our) time and use it to something better?
Yea, like learning Hebraicum or...

--
Regards.
M.CHAILLAN Nicolas
[EMAIL PROTECTED]
www.WorldAKT.com Hébergement de sites internets.

Sascha Schumann [EMAIL PROTECTED] a écrit dans le message de news:
[EMAIL PROTECTED]
  As much as it is amusing, tihiye besheket vetafsik lehishtamesh
beLatinit.

 If that language had interested me, I would have made my
 Hebraicum in addition to the Latinum.

 [snip off-topic]

 If it has not been clear to you or anyone else -- this has
 all been about drawing attention to the issues of proper
 quoting.  If only one person starts to embrace some of the
 available guidelines, it has been well worth it.

 - Sascha



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




Re: [PHP-DEV] Win32 Build Quirks

2002-12-29 Thread Michael Sisolak
Zeev Suraski wrote:
 It's zlib.  I'm not sure why people relied on users having zlib
installed 
 as a part of their standard libraries under Windows, but it's not a 
reasonable assumption...

 checkout zlib, build it (under both Release and Debug), delete *.lib
and 
 *.dll from your PHP output directory, and relink.  I configured the
zlib 
 project to work properly with PHP.

Zeev,

The current win32build tools has a zlibstat.lib in the lib directory. 
If I copy that to also be called zlib.lib then the release 4.3.0 build
correctly.  Should we be linking to zlibstat.lib instead of zlib.lib or
updating win32build to include whatever zlib.lib it should link to?  I
would imagine that most Win32 builds will now fail (unless they happen
to have a zlib.lib in their library path).

Michael Sisolak
[EMAIL PROTECTED]

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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




Re: [PHP-DEV] Update: Quoting behaviour exposed

2002-12-29 Thread Sebastian Bergmann
Sascha Schumann wrote:
 If that language had interested me, I would have made my
 Hebraicum in addition to the Latinum.

  The Hebraicum would be of no use here, because it covers Old Hebrew.
  I just showed this to my father and he could not get any sense out of
  it :-)

-- 
  Sebastian Bergmann
  http://sebastian-bergmann.de/ http://phpOpenTracker.de/

  Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/

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




RE: [PHP-DEV] Update: Quoting behaviour exposed

2002-12-29 Thread John Coggeshall



Nah. Can we please put down the swords and start talking about PHP5?  

-Original Message-
From: Sascha Schumann [mailto:[EMAIL PROTECTED]] 
Sent: Sunday, December 29, 2002 12:47 PM
To: Zeev Suraski
Cc: Sebastian Bergmann; [EMAIL PROTECTED]
Subject: Re: [PHP-DEV] Update: Quoting behaviour exposed


 As much as it is amusing, tihiye besheket vetafsik lehishtamesh 
 beLatinit.

If that language had interested me, I would have made my
Hebraicum in addition to the Latinum.

[snip off-topic]

If it has not been clear to you or anyone else -- this has
all been about drawing attention to the issues of proper
quoting.  If only one person starts to embrace some of the
available guidelines, it has been well worth it.

- Sascha

-- 
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] CVS Account Request: max

2002-12-29 Thread Max W. Blackmer, Jr.
Assist in the development of PEAR possably providing QA to PEAR group and maintainers.

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




[PHP-DEV] CVS Account Request: herbaz

2002-12-29 Thread HerbaZ , BasseM
all thing

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




[PHP-DEV] Quick array question

2002-12-29 Thread Leon Mergen
Hello there,

A quick question - is there some sort of macro available where I can convert
a PHP array with numeric elements (array (foo,bar,wombat); for
example) to the standard C type of array (which you can access with var[10])
?

Thanks in advance.

Regards,

Leon Mergen



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




Re: [PHP-DEV] Quick array question

2002-12-29 Thread Derick Rethans
On Sun, 29 Dec 2002, Leon Mergen wrote:

 A quick question - is there some sort of macro available where I can convert
 a PHP array with numeric elements (array (foo,bar,wombat); for
 example) to the standard C type of array (which you can access with var[10])
 ?

Nope, there is no macro for this.

Derick

-- 

-
 Derick Rethans http://derickrethans.nl/ 
 PHP Magazine - PHP Magazine for Professionals   http://php-mag.net/
-


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




Re: [PHP-DEV] Quick array question

2002-12-29 Thread Leon Mergen

Derick Rethans [EMAIL PROTECTED] schreef in bericht
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
  A quick question - is there some sort of macro available where I can
convert
  a PHP array with numeric elements (array (foo,bar,wombat); for
  example) to the standard C type of array (which you can access with
var[10]) ?

 Nope, there is no macro for this.

Okay, thank you for your quick reply!

Regards,

Leon Mergen



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




Re: [PHP-DEV] emalloc() troubles

2002-12-29 Thread Yasuo Ohgaki
I didn't know you have cvs access.
Then I'll leave the problem alone :)

--
Yasuo Ohgaki

Ari Pollak wrote:

Again, I told you that I already fixed the problem from within PHP, but 
there's just one memory leak that I can't track down.

On Sun, Dec 29, 2002 at 06:39:18PM +0900, Yasuo Ohgaki wrote:

I realized that now. Anyway, if there is problem with qmail,
I'll fix it iff I think it's really a problem.
Ari hasn't sent me detailed problem description, yet.








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




[PHP-DEV] Re: Win32 Build Quirks

2002-12-29 Thread l0t3k
it also seems as if we need to link against zlibstat.lib, but zlib.lib is
given in the MSVC project (php4dllts) as the library to link against.


Sebastian Bergmann [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]...
   For a long time I could use the following commands to build PHP on
   Windows

 msdev php4ts.dsw /MAKE php4ts - Release_TS_inline /REBUILD
 msdev php4ts.dsw /MAKE php4ts_cli - Release_TS_inline




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