cvs: pecl /Net_Gopher gopher_fopen_wrapper.c gopher_fopen_wrapper.h

From: Date: Mon, 31 Mar 2008 09:22:37 +0000
Subject: cvs: pecl /Net_Gopher gopher_fopen_wrapper.c gopher_fopen_wrapper.h
Groups: php.pecl.cvs 
Request: Send a blank email to pecl-cvs+get-10107@lists.php.net to get a copy of this message
sfox Mon Mar 31 09:22:37 2008 UTC Modified files: /pecl/Net_Gopher gopher_fopen_wrapper.c gopher_fopen_wrapper.h Log: - Bring the majority of PECL extensions into line with macro/x.x.x versioning. - Please use the -dev tag during the development cycle so that snapshots can easily be distinguished from releases. http://cvs.php.net/viewvc.cgi/pecl/Net_Gopher/gopher_fopen_wrapper.c?r1=1.3&r2=1.4&diff_format=u Index: pecl/Net_Gopher/gopher_fopen_wrapper.c diff -u pecl/Net_Gopher/gopher_fopen_wrapper.c:1.3 pecl/Net_Gopher/gopher_fopen_wrapper.c:1.4 --- pecl/Net_Gopher/gopher_fopen_wrapper.c:1.3 Wed Jun 7 17:35:33 2006 +++ pecl/Net_Gopher/gopher_fopen_wrapper.c Mon Mar 31 09:22:37 2008 @@ -47,7 +47,7 @@ NULL, /* RINIT */ NULL, /* RSHUTDOWN */ PHP_MINFO(gopher), - NO_VERSION_YET, + PHP_GOPHER_VERSION, STANDARD_MODULE_PROPERTIES }; @@ -263,7 +263,8 @@ PHP_MINFO_FUNCTION(gopher) { php_info_print_table_start(); - php_info_print_table_row(2, "Gopher Wrapper", "enabled"); + php_info_print_table_header(2, "Gopher Wrapper", "enabled"); + php_info_print_table_row(2, "extension version", PHP_GOPHER_VERSION); php_info_print_table_end(); } http://cvs.php.net/viewvc.cgi/pecl/Net_Gopher/gopher_fopen_wrapper.h?r1=1.2&r2=1.3&diff_format=u Index: pecl/Net_Gopher/gopher_fopen_wrapper.h diff -u pecl/Net_Gopher/gopher_fopen_wrapper.h:1.2 pecl/Net_Gopher/gopher_fopen_wrapper.h:1.3 --- pecl/Net_Gopher/gopher_fopen_wrapper.h:1.2 Wed Jun 7 17:35:33 2006 +++ pecl/Net_Gopher/gopher_fopen_wrapper.h Mon Mar 31 09:22:37 2008 @@ -34,6 +34,8 @@ extern zend_module_entry gopher_module_entry; #define phpext_gopher_ptr &gopher_module_entry +#define PHP_GOPHER_VERSION "1.0.1-dev" + PHP_MINIT_FUNCTION(gopher); PHP_MSHUTDOWN_FUNCTION(gopher); PHP_MINFO_FUNCTION(gopher);

« previous php.pecl.cvs (#10107) next »