cvs: Zend / zend_compile.c zend_execute.c
| From: | Derick Rethans | Date: | Sun, 03 Nov 2002 15:16:45 +0000 |
| Subject: | cvs: Zend / zend_compile.c zend_execute.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-548@lists.php.net to get a copy of this message | ||
derick Sun Nov 3 10:16:45 2002 EDT
Modified files:
/Zend zend_compile.c zend_execute.c
Log:
- Remove \n for consistency's sake
Index: Zend/zend_compile.c
diff -u Zend/zend_compile.c:1.238 Zend/zend_compile.c:1.239
--- Zend/zend_compile.c:1.238 Wed Oct 9 10:17:53 2002
+++ Zend/zend_compile.c Sun Nov 3 10:16:44 2002
@@ -2230,7 +2230,7 @@
convert_to_string(&val->u.constant);
new_encoding = zend_multibyte_fetch_encoding(val->u.constant.value.str.val);
if (!new_encoding) {
- zend_error(E_COMPILE_WARNING, "Unsupported encoding [%s]\n",
val->u.constant.value.str.val);
+ zend_error(E_COMPILE_WARNING, "Unsupported encoding [%s]",
val->u.constant.value.str.val);
} else {
old_input_filter = LANG_SCNG(input_filter);
old_encoding = LANG_SCNG(script_encoding);
Index: Zend/zend_execute.c
diff -u Zend/zend_execute.c:1.314 Zend/zend_execute.c:1.315
--- Zend/zend_execute.c:1.314 Fri Oct 18 06:16:51 2002
+++ Zend/zend_execute.c Sun Nov 3 10:16:45 2002
@@ -1543,7 +1543,7 @@
zend_error(E_ERROR, "Call to a member function on a non-object");
}
if (!EX(object).ptr->is_ref && EX(object).ptr->refcount > 1) {
- zend_error(E_ERROR, "Bug: Problem in method call\n");
+ zend_error(E_ERROR, "Bug: Problem in method call");
}
EX(object).ptr->is_ref=1;
EX(object).ptr->refcount++; /* For $this pointer */
@@ -1569,7 +1569,7 @@
zval *fname = get_zval_ptr(&EX(opline)->op1, EX(Ts), &EG(free_op1), BP_VAR_R);
if (zend_hash_find(EG(function_table), fname->value.str.val, fname->value.str.len+1,
(void **) &EX(function_state).function)==FAILURE) {
- zend_error(E_ERROR, "Unknown function: %s()\n", fname->value.str.val);
+ zend_error(E_ERROR, "Unknown function: %s()", fname->value.str.val);
}
FREE_OP(EX(Ts), &EX(opline)->op1, EG(free_op1));
zend_ptr_stack_n_push(&EG(arg_types_stack), 2, EX(object).ptr, EX(ce));
@@ -1808,7 +1808,7 @@
zval **param;
if (zend_ptr_stack_get_arg(EX(opline)->op1.u.constant.value.lval, (void **) ¶m
TSRMLS_CC)==FAILURE) {
- zend_error(E_WARNING, "Missing argument %d for %s()\n",
EX(opline)->op1.u.constant.value.lval, get_active_function_name(TSRMLS_C));
+ zend_error(E_WARNING, "Missing argument %d for %s()",
EX(opline)->op1.u.constant.value.lval, get_active_function_name(TSRMLS_C));
if (EX(opline)->result.op_type == IS_VAR) {
PZVAL_UNLOCK(*EX(Ts)[EX(opline)->result.u.var].var.ptr_ptr);
}