CVS update: php3
| From: | zeev | Date: | Mon, 10 Aug 1998 21:28:09 +0000 |
| Subject: | CVS update: php3 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-87@lists.php.net to get a copy of this message | ||
Date: Monday August 10, 1998 @ 17:28
Author: zeev
Update of /repository/php3
In directory asf:/tmp/cvs-serv21942
Modified Files:
operators.c
Log Message:
* Add a warning when comparing between types that cannot be compared
* Change the credits on the informix module to something more reasonable
Index: php3/operators.c
diff -c php3/operators.c:1.94 php3/operators.c:1.95
*** php3/operators.c:1.94 Fri Jul 17 10:39:48 1998
--- php3/operators.c Mon Aug 10 17:28:09 1998
***************
*** 29,35 ****
*/
! /* $Id: operators.c,v 1.94 1998/07/17 14:39:48 ssb Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
--- 29,35 ----
*/
! /* $Id: operators.c,v 1.95 1998/08/10 21:28:09 zeev Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
***************
*** 773,778 ****
--- 773,779 ----
result->value.dval = (op1->type == IS_LONG ? (double) op1->value.lval :
op1->value.dval) - (op2->type == IS_LONG ? (double) op2->value.lval : op2->value.dval);
return SUCCESS;
}
+ php3_error(E_WARNING,"Unsupported argument types in comparison function");
yystype_destructor(op1 _INLINE_TLS);
yystype_destructor(op2 _INLINE_TLS);
var_reset(result);
--
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