CVS update: php3
| From: | sas | Date: | Tue, 09 Feb 1999 13:31:20 +0000 |
| Subject: | CVS update: php3 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-4007@lists.php.net to get a copy of this message | ||
Date: Tuesday February 9, 1999 @ 8:31
Author: sas
Update of /repository/php3
In directory asf:/u/temp/cvs-serv10232
Modified Files:
operators.c
Log Message:
If their length is different or the len is equal to 0,...
Index: php3/operators.c
diff -c php3/operators.c:1.99 php3/operators.c:1.100
*** php3/operators.c:1.99 Tue Feb 9 08:28:38 1999
--- php3/operators.c Tue Feb 9 08:31:20 1999
***************
*** 29,35 ****
*/
! /* $Id: operators.c,v 1.99 1999/02/09 13:28:38 sas Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
--- 29,35 ----
*/
! /* $Id: operators.c,v 1.100 1999/02/09 13:31:20 sas Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
***************
*** 1084,1090 ****
len = s1->value.str.len;
len2 = s2->value.str.len;
! if (len != len2 && len)
return len - len2;
while(len--) {
--- 1084,1090 ----
len = s1->value.str.len;
len2 = s2->value.str.len;
! if (len != len2 || !len)
return len - len2;
while(len--) {
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net