com php-src: Bump fileinfo extension version to PHP release version: ext/fileinfo/fileinfo.c ext/fileinfo/php_fileinfo.h
| From: | Stanislav Malyshev | Date: | Thu, 14 Jun 2018 22:28:28 +0000 |
| Subject: | com php-src: Bump fileinfo extension version to PHP release version: ext/fileinfo/fileinfo.c ext/fileinfo/php_fileinfo.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-102173@lists.php.net to get a copy of this message | ||
Commit: d6ccaef3e683976e6141b90ee1e315113f4a7baa
Author: Peter Kokot <peterkokot@gmail.com> Thu, 14 Jun 2018 05:20:14 +0200
Parents: 591f4f005d38fd2b61cb3be7bb9e4d1e774c3705
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=d6ccaef3e683976e6141b90ee1e315113f4a7baa
Log:
Bump fileinfo extension version to PHP release version
To sync core extensions and their versioning more the fileinfo extension
can be versioned same way as PHP releases.
Changed paths:
M ext/fileinfo/fileinfo.c
M ext/fileinfo/php_fileinfo..h
Diff:
diff --git a/ext/fileinfo/fileinfo.c b/ext/fileinfo/fileinfo.c
index b85f1d5..c155796 100644
--- a/ext/fileinfo/fileinfo.c
+++ b/ext/fileinfo/fileinfo.c
@@ -278,7 +278,6 @@ PHP_MINFO_FUNCTION(fileinfo)
php_info_print_table_start();
php_info_print_table_row(2, "fileinfo support", "enabled");
- php_info_print_table_row(2, "version", PHP_FILEINFO_VERSION);
php_info_print_table_row(2, "libmagic", magic_ver);
php_info_print_table_end();
}
diff --git a/ext/fileinfo/php_fileinfo.h b/ext/fileinfo/php_fileinfo.h
index 4799678..cfea1ee 100644
--- a/ext/fileinfo/php_fileinfo.h
+++ b/ext/fileinfo/php_fileinfo.h
@@ -24,7 +24,7 @@
extern zend_module_entry fileinfo_module_entry;
#define phpext_fileinfo_ptr &fileinfo_module_entry
-#define PHP_FILEINFO_VERSION "1.0.5"
+#define PHP_FILEINFO_VERSION PHP_VERSION
#ifdef PHP_WIN32
#define PHP_FILEINFO_API __declspec(dllexport)