Re: [PHP-DEV] PHP 4 Bug Summary Report

2002-12-02 Thread Harrie Hazewinkel
HI, Just a question. I saw some SNMP related items. Mainly asking to make sure I follow procedure. On Saturday, November 30, 2002, at 04:00 PM, [EMAIL PROTECTED] wrote: PHP 4 Bug Database summary - http://bugs.php.net 6584 Open SNMP get-next function is missing 17405 Open Support

Re: [PHP-DEV] PHP 4 Bug Summary Report

2002-12-02 Thread Derick Rethans
On Mon, 2 Dec 2002, Harrie Hazewinkel wrote: HI, Just a question. I saw some SNMP related items. Mainly asking to make sure I follow procedure. Well, if the bug/feature request is fixed it can be closed of course. Derick On Saturday, November 30, 2002, at 04:00 PM, [EMAIL PROTECTED]

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4(PHP_4_3) /sapi/cgi cgi_main.c

2002-12-02 Thread Zeev Suraski
How does this patch possibly fix something in this magnitude? It doesn't appear to do anything crucial at all, or do these variables have some far-reaching indirect effect? Zeev At 07:45 02/12/2002, Shane Caraveo wrote: It's not a matter of php cgi just having a couple bugs, it was completely

Re: [PHP-DEV] OCI patch

2002-12-02 Thread Abdul-Kareem Abo-Namous
sure, here's thecode, diff'd against the latest cvs (from today). hope it's ok! oci8_charsets_oci8c.diff is for oci8.c oci8_charsets_configm4.diff for config.m4 and guess what oci8_charsets_phpoci8h.diff is for ;-))) cheers, Abdul - Original Message - From: Maxim Maletsky [EMAIL

Re: [PHP-DEV] OCI patch

2002-12-02 Thread Maxim Maletsky
Cool. From the first sight it looks good, but I am gonna have to test it through various platforms - I have access to multilingual environments here. I tend to be a bit concerned changing the session type, but it seems alright for me so far. Let me play with it and let you know if it can go up

Re: [PHP-DEV] [PATCH] Changes to ext_skel for C++

2002-12-02 Thread J Smith
That's what I was thinking. The new patch updates skeleton.c a bit and fixes ext_skel to either add extern C stuff to skeleton.c or get rid of it. I think it would be simpler for extension first-timers to not worry about what __cplusplus means, or why extern C is there in the first place, etc.

Re: [PHP-DEV] [PATCH] Changes to ext_skel for C++

2002-12-02 Thread George Schlossnagle
J Smith wrote: That's what I was thinking. The new patch updates skeleton.c a bit and fixes ext_skel to either add extern C stuff to skeleton.c or get rid of it. I think it would be simpler for extension first-timers to not worry about what __cplusplus means, or why extern C is there in the

[PHP-DEV] [PATCH] New changes to ext_skel for C++

2002-12-02 Thread J Smith
Taking a few comments into consideration, here's a new patch for adding C++ code-generating abilities to ext_skel. The new patch doesn't use a separate skeleton.cpp file. Instead, it adds some lines like /* __begin_extern_c__ */ /* __end_extern_c__ */ to skeleton.c and lets ext_skel either

Re: [PHP-DEV] [PATCH] New changes to ext_skel for C++

2002-12-02 Thread Zeev Suraski
Why not just use BEGIN_EXTERN_C() and END_EXTERN_C()? Zeev At 17:18 02/12/2002, J Smith wrote: Taking a few comments into consideration, here's a new patch for adding C++ code-generating abilities to ext_skel. The new patch doesn't use a separate skeleton.cpp file. Instead, it adds some lines

Re: [PHP-DEV] [PATCH] New changes to ext_skel for C++

2002-12-02 Thread J Smith
For the second instance where extern C is used, that would be possible, but in the first instance, BEGIN/END_EXTERN_C() aren't defined yet, as they're in zend.h. The compiler would totally barf. I had used BEGIN/END_EXTERN_C() in the first patch I sent out, but decided to use one or the other

Re: [PHP-DEV] [PATCH] Changes to ext_skel for C++

2002-12-02 Thread J Smith
Or it could just not be there at all? What the big deal here? It's four extra lines in ext_skel to get rid of it. Besides, you can comment the hell out of it, write six pages of documentation surrounded in /* */ if you want, you know there will be people asking why there's C++ code in their

Re: [PHP-DEV] [PATCH] New changes to ext_skel for C++

2002-12-02 Thread Zeev Suraski
Why do we need an extern c before php.h? The relevant API functions in php.h should be extern cd in my opinion, wrapping php.h up in extern c is not very clean. Zeev At 17:32 02/12/2002, J Smith wrote: For the second instance where extern C is used, that would be possible, but in the first

Re: [PHP-DEV] [PATCH] New changes to ext_skel for C++

2002-12-02 Thread J Smith
I seem to remember having problems the last time I tried that. With gcc, you get relocation errors, missing symbols, all sorts of craziness. (I just checked with an extension compiled as a shared objected -- without extern c-ing php.h, I got an undefined symbol on

[PHP-DEV] CVS Account Request: ruibarreiros

2002-12-02 Thread Rui Jorge da Silva Barreiros
Vpopmail PECL extension development -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] How to use sapi/embed?

2002-12-02 Thread Miklos Nemeth
I found in PHP 4.3.0-RC2 a sapi/embed directory, which is supposed to be used for C/C++ projects using PHP as an embedded engine. Is there any example or (short) description of how to use this feature? -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit:

[PHP-DEV] Re: [PHP-CVS] cvs: php4(PHP_4_3) /sapi/cgi cgi_main.c

2002-12-02 Thread Andi Gutmans
I still haven't understood from your answer if this is a problem which was in 4.2.x. Andi At 09:45 PM 12/1/2002 -0800, Shane Caraveo wrote: It's not a matter of php cgi just having a couple bugs, it was completely broken. If we don't put it in 4.3, pull the cgi module out entirely because

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4(PHP_4_3) /sapi/cgi cgi_main.c

2002-12-02 Thread Sascha Schumann
On Mon, 2 Dec 2002, Andi Gutmans wrote: I still haven't understood from your answer if this is a problem which was in 4.2.x. This problem has existed for a long time. There is not much which can break, because it has not been working since well before 4.2.x. - Sascha -- PHP

[PHP-DEV] Re: Multiple MSSQL Crashes in 4.3.0RC2

2002-12-02 Thread Miklos Nemeth
Well done Michael! These types of bugs warn me that stay away from PHP 4.3 for a while. Thank you for your report. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4(PHP_4_3) /sapi/cgi cgi_main.c

2002-12-02 Thread Andi Gutmans
At 06:59 PM 12/2/2002 +0100, Sascha Schumann wrote: On Mon, 2 Dec 2002, Andi Gutmans wrote: I still haven't understood from your answer if this is a problem which was in 4.2.x. This problem has existed for a long time. There is not much which can break, because it has not been

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/mbstring mbstring.dsp mbstring.h php_mbregex.c php_unicode.c php_unicode.h

2002-12-02 Thread Sebastian Bergmann
Frank M. Kromann wrote: Fixing build on WIn32 MBREGEX is disabled for now. 5 mbre_* functions are undefined on WIn32 Isn't this against the idea of main/config.w32.h? By the way, IMHO this file should be moved to /win32. For consistency and having Win32 related files in one directory. --

[PHP-DEV] Re: #20755 [Opn-Ver]: exif relocation error

2002-12-02 Thread Moriyoshi Koizumi
--snip If you compile mbstring as static module, you can workaround this error. It's not very good idea to enable it anyway.. I'm wondering why you referred to enabling mbstring as no good idea in this report. I believe the problem has been properly avoided, or am I missing something? For

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4(PHP_4_3) /sapi/cgi cgi_main.c

2002-12-02 Thread Shane Caraveo
Zeev Suraski wrote: How does this patch possibly fix something in this magnitude? It doesn't appear to do anything crucial at all, or do these variables have some far-reaching indirect effect? Zeev Well, the one patch refered to in this thread was only a minor fix over the previous patches

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4(PHP_4_3) /sapi/cgi cgi_main.c

2002-12-02 Thread Jani Taskinen
On Mon, 2 Dec 2002, Shane Caraveo wrote: There are bugs in the bug database that this fixes also, one example: http://bugs.php.net/bug.php?id=19378 There are also bugs marked as bogus that probably were not, one example: http://bugs.php.net/bug.php?id=10075. (CGI and PATH_INFO aparently is

[PHP-DEV] OpenSSL wrappers for PHP 4

2002-12-02 Thread David Gillies
Hi, I'm new to this list... Over the past few weeks I've been working on a PHP4 module, called securesocket, that wraps several of the OpenSSL routines. So far, there's about 75 routines in my module, covering essentially all of the basic routines required to perform SSL connections (support for

[PHP-DEV] New iconv functions being introduced

2002-12-02 Thread Moriyoshi Koizumi
Hi, I've implemented some string related functions that make use of iconv(). Following is the list of them. = - _php_iconv_appendl() Converts the given string in the way specified by a conversion descriptor and then

Re: [PHP-DEV] Re: #20755 [Opn-Ver]: exif relocation error)

2002-12-02 Thread Jani Taskinen
On Tue, 3 Dec 2002, Moriyoshi Koizumi wrote: --snip If you compile mbstring as static module, you can workaround this error. It's not very good idea to enable it anyway.. I'm wondering why you referred to enabling mbstring as no good idea in this report. I believe the problem has been properly

Re: [PHP-DEV] Re: #20755 [Opn-Ver]: exif relocation error)

2002-12-02 Thread Moriyoshi Koizumi
Hi, Jani Taskinen [EMAIL PROTECTED] wrote: On Tue, 3 Dec 2002, Moriyoshi Koizumi wrote: --snip If you compile mbstring as static module, you can workaround this error. It's not very good idea to enable it anyway.. I'm wondering why you referred to enabling mbstring as no good idea in

Re: [PHP-DEV] OpenSSL wrappers for PHP 4

2002-12-02 Thread Wez Furlong
Sounds great, and sounds like it should be part of ext/openssl and it's up-coming stream implementation (most of the code is in main/network.c ATM). I'd really appreciate your input on making most of your work use the new streams architecture. (which really means that most of those calls will go

[PHP-DEV] pecl extensions

2002-12-02 Thread Brad LaFountain
I know I'm going to piss people off by asking this but how do I create a new pecl package? I think I want going to put php_opengl in there. See if gets anymore use. - Brad __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now.

Re: [PHP-DEV] pecl extensions

2002-12-02 Thread Alan Knowles
Brad LaFountain wrote: I know I'm going to piss people off by asking this but how do I create a new pecl package? I think I want going to put php_opengl in there. See if gets anymore use. upload it to pear/PECL/opengl.. (You should have karma for that already) you nead a pear account re: the