cvs: pecl /htscanner htscanner.c php_htscanner.h
| From: | Pierre-Alain Joye | Date: | Fri, 08 Dec 2006 13:51:55 +0000 |
| Subject: | cvs: pecl /htscanner htscanner.c php_htscanner.h | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-6778@lists.php.net to get a copy of this message | ||
pajoye Fri Dec 8 13:51:55 2006 UTC
Modified files:
/pecl/htscanner htscanner.c php_htscanner.h
Log:
- fix TSRM builds, typo in mutex macros, htscannerMutexUnlock not htscannerUnlock
- php_config.h not required
http://cvs.php.net/viewvc.cgi/pecl/htscanner/htscanner.c?r1=1.6&r2=1.7&diff_format=u
Index: pecl/htscanner/htscanner.c
diff -u pecl/htscanner/htscanner.c:1.6 pecl/htscanner/htscanner.c:1.7
--- pecl/htscanner/htscanner.c:1.6 Fri Dec 8 00:59:14 2006
+++ pecl/htscanner/htscanner.c Fri Dec 8 13:51:55 2006
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: htscanner.c,v 1.6 2006/12/08 00:59:14 pajoye Exp $ */
+/* $Id: htscanner.c,v 1.7 2006/12/08 13:51:55 pajoye Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -30,7 +30,6 @@
#include "php_htscanner.h"
#include "ext/standard/file.h"
#include "ext/standard/php_string.h"
-#include "main/php_config.h"
ZEND_DECLARE_MODULE_GLOBALS(htscanner)
@@ -428,7 +427,7 @@
php_info_print_table_start();
php_info_print_table_row(2, "htscanner support", "enabled");
- php_info_print_table_row(2, "Extension Version","$Id: htscanner.c,v 1.6
2006/12/08 00:59:14 pajoye Exp $");
+ php_info_print_table_row(2, "Extension Version","$Id: htscanner.c,v 1.7
2006/12/08 13:51:55 pajoye Exp $");
php_info_print_table_row(2, "htaccess version", "0.5.0-dev");
php_info_print_table_end();
http://cvs.php.net/viewvc.cgi/pecl/htscanner/php_htscanner.h?r1=1.2&r2=1.3&diff_format=u
Index: pecl/htscanner/php_htscanner.h
diff -u pecl/htscanner/php_htscanner.h:1.2 pecl/htscanner/php_htscanner.h:1.3
--- pecl/htscanner/php_htscanner.h:1.2 Thu Dec 7 19:41:10 2006
+++ pecl/htscanner/php_htscanner.h Fri Dec 8 13:51:55 2006
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_htscanner.h,v 1.2 2006/12/07 19:41:10 pajoye Exp $ */
+/* $Id: php_htscanner.h,v 1.3 2006/12/08 13:51:55 pajoye Exp $ */
#ifndef PHP_HTSCANNER_H
#define PHP_HTSCANNER_H
@@ -63,7 +63,7 @@
#define htscannerMutexSetup(x) x = tsrm_mutex_alloc()
#define htscannerMutexShutdown(x) tsrm_mutex_free(x)
#define htscannerMutexLock(x) tsrm_mutex_lock(x)
-#define htscannerUnlock(x) tsrm_mutex_unlock(x)
+#define htscannerMutexUnlock(x) tsrm_mutex_unlock(x)
#else
#define HTG(v) (htscanner_globals.v)
#define htscannerMutexDeclare(x)