Yasuo Ohgaki | 1 Nov 01:47 2002
Picon

Re: cvs: php4 /ext/iconv config.m4

Moriyoshi Koizumi wrote:
> moriyoshi		Thu Oct 31 15:23:53 2002 EDT
> 
>   Modified files:              
>     /php4/ext/iconv	config.m4 
>   Log:
>   Fixed library capability detection behaviour.
>   # Whew! I've fixed all the known problems.
>   # And should I become a maintainer of this module? 

Sounds good to me, but Ask Rui and Stig.
It's not even listed in EXTENSIONS.

--
Yasuo Ohgaki

--

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

Sander Roobol | 1 Nov 10:55 2002
Picon
Picon

Re: [PATCH] ereg to pcre conversion

On Thu, Oct 31, 2002 at 02:47:27PM -0500, Ilia A. wrote:
> I would like to propose that we drop the old ereg library and use only
> a single regular expression library, PCRE. For BC purposes I've written a 
> patch (see attached file), which emulates the old ereg_* functions for people 
> who still rely on those, using PCRE.

We probably have to make a bunch of tests to see if we don't break BC
with this patch. If we don't break BC, and only then, I would give +1 on
this patch. Too many people rely on the ereg_* functions, so IMO we
really can't afford changing any behaviour.

Sander

--

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

Marcus Boerger | 1 Nov 11:35 2002
Picon

ext/imap finding libraries

The following patch allows to find the kerberos libraries to
be found in /usr, /usr/local, /usr/kerberos
and a given path. If there are no objections i will commit this.

marcus

cvs -z3 -q diff ext\imap\config.m4 (in directory S:\php4-HEAD\)
Index: ext/imap/config.m4
===================================================================
RCS file: /repository/php4/ext/imap/config.m4,v
retrieving revision 1.48
diff -u -r1.48 config.m4
--- ext/imap/config.m4  20 Aug 2002 23:08:24 -0000      1.48
+++ ext/imap/config.m4  1 Nov 2002 10:31:21 -0000
 <at>  <at>  -67,15 +67,20  <at>  <at> 
      test -d /usr/kerberos && PHP_KERBEROS=/usr/kerberos
    fi

-  if test "$PHP_KERBEROS" != "no"; then
-    if test ! -f $PHP_KERBEROS/lib/libkrb5.a && test ! -f 
$PHP_KERBEROS/lib/libkrb5.$SHLIB_SUFFIX_NAME; then
-      AC_MSG_ERROR([Kerberos libraries not found in $PHP_KERBEROS/lib.
+  for i in /usr /usr/local /usr/kerberos $PHP_KERBEROS; do
+    test -f $i/lib/libkrb5.$SHLIB_SUFFIX_NAME -o -f $i/lib/libkrb5.a && 
PHP_KERBEROS_DIR=$i
+  done
+
+  if test -z "$PHP_KERBEROS_DIR"; then
+    AC_MSG_ERROR([Kerberos libraries not found.

(Continue reading)

Sebastian Nohn | 1 Nov 12:18 2002
Picon

RE: [PHP-QA] 64-bit SGI account offer

> -----Original Message-----
> From: Seth Price [mailto:sprice <at> wisc.edu]
> Sent: Friday, November 01, 2002 2:32 AM
> To: php-qa <at> lists.php.net
> Cc: mwhite <at> bunnynet.org; msopacua <at> idg.nl
> Subject: [PHP-QA] 64-bit SGI account offer
>
>
> It sounds like there is a need to get some 64-bit test systems to work
> with PHP on. Where I work we have some 64-bit SGI systems that we use
> for various scientific global simulations. I don't use the systems
> personally, but I spoke with my boss and I may be able to get an ssh
> login account for someone to get a PHP build working if there is
> interest. Would you guys find this useful?

It think this would be very useful, but I don't have the time to test PHP on
just another platform. I even have Problems testing it at "my" platform,
Alpha/Tru64, but I think someone should get an account on that machine. I
would suggest someone from the dev-team like Jani or any other bug-hunter
rather than someone from the QA-Team for this.

Regards,
   Sebastian Nohn
--
sebastian <at> nohn.net - http://www.nohn.net/
PGP Key Available - Did I help you? Consider a gift:
http://www.amazon.de/exec/obidos/wishlist/3HYH6NR8ZI0WI/

--

-- 
PHP Development Mailing List <http://www.php.net/>
(Continue reading)

Marcus Boerger | 1 Nov 12:24 2002
Picon

Re: [PHP-DEV] RE: [PHP-QA] 64-bit SGI account offer

What about an additional cronjob for automated builds
which could then be included in snaps.php.net. This
way all of us could verify the build results?

marcus

At 12:18 01.11.2002, Sebastian Nohn wrote:
> > -----Original Message-----
> > From: Seth Price [mailto:sprice <at> wisc.edu]
> > Sent: Friday, November 01, 2002 2:32 AM
> > To: php-qa <at> lists.php.net
> > Cc: mwhite <at> bunnynet.org; msopacua <at> idg.nl
> > Subject: [PHP-QA] 64-bit SGI account offer
> >
> >
> > It sounds like there is a need to get some 64-bit test systems to work
> > with PHP on. Where I work we have some 64-bit SGI systems that we use
> > for various scientific global simulations. I don't use the systems
> > personally, but I spoke with my boss and I may be able to get an ssh
> > login account for someone to get a PHP build working if there is
> > interest. Would you guys find this useful?
>
>It think this would be very useful, but I don't have the time to test PHP on
>just another platform. I even have Problems testing it at "my" platform,
>Alpha/Tru64, but I think someone should get an account on that machine. I
>would suggest someone from the dev-team like Jani or any other bug-hunter
>rather than someone from the QA-Team for this.
>
>Regards,
>    Sebastian Nohn
(Continue reading)

Melvyn Sopacua | 1 Nov 15:27 2002
Picon
Picon

[PATCH] run-tests.php

Hi,

attached a patch:
1) To get the right compiler version (see php-qa thread on this)
2) Add option to save results, by Michael Mauch <michael.mauch <at> gmx.de>

Any objections?

With kind regards,

Melvyn Sopacua
<?php include("not_reflecting_employers_views.txt"); ?>

--

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

Derick Rethans | 1 Nov 15:37 2002
Picon

Re: [PATCH] run-tests.php

On Fri, 1 Nov 2002, Melvyn Sopacua wrote:

> Hi,
> 
> attached a patch:
> 1) To get the right compiler version (see php-qa thread on this)
> 2) Add option to save results, by Michael Mauch <michael.mauch <at> gmx.de>
> 
> Any objections?

We can't object if there is no attachment :)

Derick

-- 

---------------------------------------------------------------------------
 Derick Rethans                                   http://derickrethans.nl/ 
 JDI Media Solutions                               http://www.jdimedia.nl/
---------------------------------------------------------------------------

--

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

Melvyn Sopacua | 1 Nov 16:05 2002
Picon
Picon

Re: [PATCH] run-tests.php

At 15:37 1-11-2002, Derick Rethans wrote:

> > Any objections?
>
>We can't object if there is no attachment :)

<?php while($i<100) { echo substr(' <at> #*!$%', mt_rand(1,6), 1); $i++; } ?>

With kind regards,

Melvyn Sopacua
<?php include("not_reflecting_employers_views.txt"); ?>
Index: run-tests.php
===================================================================
RCS file: /repository/php4/run-tests.php,v
retrieving revision 1.104
diff -u -r1.104 run-tests.php
--- run-tests.php	31 Oct 2002 14:01:58 -0000	1.104
+++ run-tests.php	1 Nov 2002 14:17:00 -0000
 <at>  <at>  -280,10 +280,12  <at>  <at> 
 /* We got failed Tests, offer the user to send and e-mail to QA team, unless NO_INTERACTION is set */
 if ($sum_results['FAILED'] && !getenv('NO_INTERACTION')) {
 	$fp = fopen("php://stdin", "r+");
-	echo "Some tests have failed, would you like to send the\nreport to PHP's QA team? [Yn]: ";
+	echo "Some tests have failed, would you like to send the\nreport to PHP's QA team\n";
+	echo "(choose \"s\" to just save the results to a file)? [Yns]: ";
 	$user_input = fgets($fp, 10);
+	$just_save_results = (strtolower($user_input[0]) == 's');
 	
(Continue reading)

Derick Rethans | 1 Nov 17:18 2002
Picon

Segfault when an error message is displayed during shutdown

Hey,

See backtrace, it's immediate clear what happens... the filename is 
already freed.

(gdb) run -X
Starting program: /dat/dev/php/apache_1.3.27/src/httpd -X

Program received signal SIGSEGV, Segmentation fault.
0x080afdbf in php_strlcpy (dst=0x832bdc0 
"/home/httpd/html/pres/show.php", 
    src=0x5a5a5a5a <Address 0x5a5a5a5a out of bounds>, siz=1024)
    at /dat/dev/php/php-4.3.0dev/main/strlcpy.c:58
58				if ((*d++ = *s++) == 0)
(gdb) bt
#0  0x080afdbf in php_strlcpy (dst=0x832bdc0 
"/home/httpd/html/pres/show.php", 
    src=0x5a5a5a5a <Address 0x5a5a5a5a out of bounds>, siz=1024)
    at /dat/dev/php/php-4.3.0dev/main/strlcpy.c:58
#1  0x080a6fe4 in php_error_cb (type=1, 
    error_filename=0x5a5a5a5a <Address 0x5a5a5a5a out of bounds>, 
    error_lineno=0, format=0x82a64bf "PDFlib error: %s", 
args=0xbfffe6a8)
    at /dat/dev/php/php-4.3.0dev/main/main.c:545
#2  0x080d1df7 in zend_error (type=1, format=0x82a64bf "PDFlib error: 
%s")
    at /dat/dev/php/php-4.3.0dev/Zend/zend.c:710
#3  0x0817f646 in custom_errorhandler (p=0x86afef4, type=3, 
    shortmsg=0xbfffe6d0 "function 'PDF_delete' must not be called in 
'page' scope") at /dat/dev/php/php-4.3.0dev/ext/pdf/pdf.c:280
(Continue reading)

John Coggeshall | 1 Nov 17:39 2002

RE: Re: [PATCH] run-tests.php


The only thing I see wrong, is perhaps that Shane and I are working on a
new run-tests script.... (see run-tests2.php)

Since the script (at least the CLI class) basically works just as well
as the current run-tests.php (as far as I've seen thus far)... Well, I'm
just worried your patch will end up disappearing :(

All IMHO of course.

John

|-----Original Message-----
|From: Melvyn Sopacua [mailto:msopacua <at> php.net] 
|Sent: Friday, November 01, 2002 10:05 AM
|To: Derick Rethans
|Cc: Php Dev List; Ilia Alshanetsky; Preston L.Bannister; 
|Marcus Boerger; Sander Roobol
|Subject: [PHP-DEV] Re: [PATCH] run-tests.php
|
|
|At 15:37 1-11-2002, Derick Rethans wrote:
|
|> > Any objections?
|>
|>We can't object if there is no attachment :)
|
|<?php while($i<100) { echo substr(' <at> #*!$%', mt_rand(1,6), 1); 
|$i++; } ?>
|
(Continue reading)


Gmane