summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2006-07-06 23:13:18 +0000
committerIlia Alshanetsky <iliaa@php.net>2006-07-06 23:13:18 +0000
commit89635eb158b68e8daf77e2f49aa6fa233f112cd0 (patch)
treedf2f0fe26966d3abeb111f2c1d5918d27ba192a1
parent91f9af4360ee6c63870c34ec52321addb7f34e01 (diff)
downloadphp-git-89635eb158b68e8daf77e2f49aa6fa233f112cd0.tar.gz
E_ERROR > E_RECOVERABLE_ERROR
-rw-r--r--ext/dba/dba.c2
-rw-r--r--ext/dba/libinifile/inifile.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/dba/dba.c b/ext/dba/dba.c
index 6a603a1f7e..38b17229f0 100644
--- a/ext/dba/dba.c
+++ b/ext/dba/dba.c
@@ -227,7 +227,7 @@ static size_t php_dba_make_key(zval **key, char **key_str, char **key_free TSRML
size_t len;
if (zend_hash_num_elements(Z_ARRVAL_PP(key)) != 2) {
- php_error_docref(NULL TSRMLS_CC, E_ERROR, "Key does not have exactly two elements: (key, name)");
+ php_error_docref(NULL TSRMLS_CC, E_RECOVERABLE_ERROR, "Key does not have exactly two elements: (key, name)");
return -1;
}
zend_hash_internal_pointer_reset_ex(Z_ARRVAL_PP(key), &pos);
diff --git a/ext/dba/libinifile/inifile.c b/ext/dba/libinifile/inifile.c
index c037aef75b..9f69b12d91 100644
--- a/ext/dba/libinifile/inifile.c
+++ b/ext/dba/libinifile/inifile.c
@@ -538,7 +538,7 @@ static int inifile_delete_replace_append(inifile *dba, const key_type *key, cons
php_stream_seek(fp_tmp, 0, SEEK_SET);
php_stream_seek(dba->fp, 0, SEEK_END);
if (!php_stream_copy_to_stream(fp_tmp, dba->fp, PHP_STREAM_COPY_ALL)) {
- php_error_docref(NULL TSRMLS_CC, E_ERROR, "Could not copy from temporary stream - ini file truncated");
+ php_error_docref(NULL TSRMLS_CC, E_RECOVERABLE_ERROR, "Could not copy from temporary stream - ini file truncated");
ret = FAILURE;
}
}