From e7de4793c39d4cd3705813d93f66bb64c7f32220 Mon Sep 17 00:00:00 2001 From: Christopher Jones Date: Tue, 25 Mar 2008 17:20:27 +0000 Subject: [PATCH] Remove trailing period from error thus syncing with PHP 6 --- ext/oci8/oci8_lob.c | 2 +- ext/oci8/tests/lob_028.phpt | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ext/oci8/oci8_lob.c b/ext/oci8/oci8_lob.c index 99bf7211aa..1b1aff8148 100644 --- a/ext/oci8/oci8_lob.c +++ b/ext/oci8/oci8_lob.c @@ -62,7 +62,7 @@ php_oci_descriptor *php_oci_lob_create (php_oci_connection *connection, long typ /* these three are allowed */ break; default: - php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unknown descriptor type %ld.", type); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unknown descriptor type %ld", type); return NULL; break; } diff --git a/ext/oci8/tests/lob_028.phpt b/ext/oci8/tests/lob_028.phpt index f049abdba3..8ac2da3a32 100644 --- a/ext/oci8/tests/lob_028.phpt +++ b/ext/oci8/tests/lob_028.phpt @@ -70,15 +70,15 @@ object(OCI-Lob)#%d (1) { resource(%d) of type (oci8 descriptor) } -Warning: oci_new_descriptor(): Unknown descriptor type %d. in %s on line %d +Warning: oci_new_descriptor(): Unknown descriptor type %d in %s on line %d NULL -Warning: oci_new_descriptor(): Unknown descriptor type %d. in %s on line %d +Warning: oci_new_descriptor(): Unknown descriptor type %d in %s on line %d NULL -Warning: oci_new_descriptor(): Unknown descriptor type %d. in %s on line %d +Warning: oci_new_descriptor(): Unknown descriptor type %d in %s on line %d NULL -Warning: oci_new_descriptor(): Unknown descriptor type %d. in %s on line %d +Warning: oci_new_descriptor(): Unknown descriptor type %d in %s on line %d NULL Done -- 2.50.1