Hello Martin,
using the $Revision: $ keyword is enough. Also it looks like you're having
a white space issue.
marcus
Friday, October 12, 2007, 5:54:53 PM, you wrote:
> Index: pdo_mysql/pdo_mysql.c
> ===================================================================
> RCS file: /repository/php-src/ext/pdo_mysql/pdo_mysql.c,v
> retrieving revision 1.17
> diff -u -r1.17 pdo_mysql.c
> --- pdo_mysql/pdo_mysql.c 27 Sep 2007 18:28:41 -0000 1.17
> +++ pdo_mysql/pdo_mysql.c 12 Oct 2007 15:49:04 -0000
> @@ -30,6 +30,8 @@
> #include "php_pdo_mysql.h"
> #include "php_pdo_mysql_int.h"
>
> +#define PHP_PDO_MYSQL_MODULE_VERSION "0.9"
> +
> /* {{{ pdo_mysql_functions[] */
> const zend_function_entry pdo_mysql_functions[] = {
> {NULL, NULL, NULL}
> @@ -60,7 +62,7 @@
> NULL,
> NULL,
> PHP_MINFO(pdo_mysql),
> - "0.9",
> + PHP_PDO_MYSQL_MODULE_VERSION,
> STANDARD_MODULE_PROPERTIES
> };
> /* }}} */
> @@ -102,6 +104,7 @@
> {
> php_info_print_table_start();
> php_info_print_table_header(2, "PDO Driver for MySQL 3.x Client
> Libraries", "enabled");
> + php_info_print_table_row(2, "PECL Module version",
> PHP_PDO_MYSQL_MODULE_VERSION " $Id$");
> php_info_print_table_end();
> }
> /* }}} */
> Index: pdo_oci/pdo_oci.c
> ===================================================================
> RCS file: /repository/php-src/ext/pdo_oci/pdo_oci.c,v
> retrieving revision 1.10
> diff -u -r1.10 pdo_oci.c
> --- pdo_oci/pdo_oci.c 27 Sep 2007 18:28:41 -0000 1.10
> +++ pdo_oci/pdo_oci.c 12 Oct 2007 15:49:04 -0000
> @@ -30,6 +30,8 @@
> #include "php_pdo_oci.h"
> #include "php_pdo_oci_int.h"
>
> +#define PHP_PDO_OCI_MODULE_VERSION "0.9"
> +
> /* {{{ pdo_oci_functions[] */
> const zend_function_entry pdo_oci_functions[] = {
> {NULL, NULL, NULL}
> @@ -59,7 +61,7 @@
> NULL,
> NULL,
> PHP_MINFO(pdo_oci),
> - "0.9",
> + PHP_PDO_OCI_MODULE_VERSION,
> STANDARD_MODULE_PROPERTIES
> };
> /* }}} */
> @@ -119,6 +121,7 @@
> {
> php_info_print_table_start();
> php_info_print_table_header(2, "PDO Driver for OCI 8 and later",
> "enabled");
> + php_info_print_table_row(2, "PECL Module version",
> PHP_PDO_OCI_MODULE_VERSION " $Id$");
> php_info_print_table_end();
> }
> /* }}} */
> Index: pdo_pgsql/pdo_pgsql.c
> ===================================================================
> RCS file: /repository/php-src/ext/pdo_pgsql/pdo_pgsql.c,v
> retrieving revision 1.16
> diff -u -r1.16 pdo_pgsql.c
> --- pdo_pgsql/pdo_pgsql.c 27 Sep 2007 18:28:41 -0000 1.16
> +++ pdo_pgsql/pdo_pgsql.c 12 Oct 2007 15:49:04 -0000
> @@ -30,6 +30,8 @@
> #include "php_pdo_pgsql.h"
> #include "php_pdo_pgsql_int.h"
>
> +#define PHP_PDO_PGSQL_MODULE_VERSION "0.9"
> +
> #ifdef HAVE_PG_CONFIG_H
> #undef PACKAGE_BUGREPORT
> #undef PACKAGE_NAME
> @@ -70,7 +72,7 @@
> PHP_RINIT(pdo_pgsql),
> PHP_RSHUTDOWN(pdo_pgsql),
> PHP_MINFO(pdo_pgsql),
> - "0.9",
> + PHP_PDO_PGSQL_MODULE_VERSION,
> STANDARD_MODULE_PROPERTIES
> };
> /* }}} */
> @@ -127,8 +129,7 @@
> #ifdef HAVE_PG_CONFIG_H
> php_info_print_table_row(2, "PostgreSQL(libpq) Version", PG_VERSION);
> #endif
> - php_info_print_table_row(2, "Module version",
> pdo_pgsql_module_entry.version);
> - php_info_print_table_row(2, "Revision", " $Id: pdo_pgsql.c,v 1.16
> 2007/09/27 18:28:41 dmitry
> Exp $ ");
> + php_info_print_table_row(2, "PECL Module version",
> PHP_PDO_PGSQL_MODULE_VERSION " $Id$");
>
> php_info_print_table_end();
> }
Best regards,
Marcus
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php