|
|
Mozy Online Backup: 2GB Free. Automatic. Secure.
Subject: cvs: pecl /etpan php_etpan_folder.c php_etpan_folder_iterator.c php_etpan_imf.c php_etpan_message.c php_etpan_mime.c php_etpan_storage.c - msg#00157
List: php.pecl.cvs
mike Wed Mar 21 09:27:22 2007 UTC
Modified files:
/pecl/etpan php_etpan_folder.c php_etpan_folder_iterator.c
php_etpan_imf.c php_etpan_message.c php_etpan_mime.c
php_etpan_storage.c
Log:
- add EtpanStorage::listFolders
- throw exception when current() of EtpanFolderIterator fails
- add protos
mike-20070321092722.txt
Description: Text document
Was this page helpful?
Thread at a glance:
Previous Message by Date:
click to view message preview
cvs: pecl /htscanner package.xml
pajoye Wed Mar 21 00:03:50 2007 UTC
Modified files:
/pecl/htscanner package.xml
Log:
- #10432 and #10426
http://cvs.php.net/viewvc.cgi/pecl/htscanner/package.xml?r1=1.17&r2=1.18&diff_format=u
Index: pecl/htscanner/package.xml
diff -u pecl/htscanner/package.xml:1.17 pecl/htscanner/package.xml:1.18
--- pecl/htscanner/package.xml:1.17 Tue Mar 20 12:57:20 2007
+++ pecl/htscanner/package.xml Wed Mar 21 00:03:50 2007
@@ -14,18 +14,18 @@
<email>pajoye@xxxxxxx</email>
<active>yes</active>
</lead>
- <date>2007-03-20</date>
+ <date>2007-03-21</date>
<version>
- <release>0.8.0</release>
- <api>0.8.0</api>
+ <release>0.8.1</release>
+ <api>0.8.1</api>
</version>
<stability>
<release>alpha</release>
<api>alpha</api>
</stability>
<license uri="http://www.php.net/license">PHP License</license>
- <notes>- Initial PHP4 support
-Thanks to widexs (http://www.widexs.nl) to fund php4 support</notes>
+ <notes>- #10426, safe_mode throws warnings about missing .htaccess
+- #10432, warning while blocking php_value safe_mode (Matthew Kent)</notes>
<contents>
<dir name="/">
<file name="config.m4" role="src"/>
@@ -53,6 +53,21 @@
<providesextension>htscanner</providesextension>
<extsrcrelease/>
<changelog>
+ <release>
+ <date>2007-03-20</date>
+ <version>
+ <release>0.8.0</release>
+ <api>0.8.0</api>
+ </version>
+ <stability>
+ <release>alpha</release>
+ <api>alpha</api>
+ </stability>
+ <license uri="http://www.php.net/license">PHP License</license>
+ <notes>- Initial PHP4 support
+Thanks to widexs (http://www.widexs.nl) to fund php4 support</notes>
+
+ </release>
<release>
<date>2007-02-17</date>
<version>
Previous Message by Thread:
click to view message preview
cvs: pecl /htscanner htscanner.c
pajoye Tue Mar 20 20:57:38 2007 UTC
Modified files:
/pecl/htscanner htscanner.c
Log:
- #10426, safe_mode throws warnings about missing .htaccess
if someone knows why we force CHECKUID_DISALLOW_FILE_NOT_EXISTS
in php_checkuid_ex in read mode, please let me know.
it is not possible to call php_stream_open_wrapper without having errors
when the file does not exist (force a stat)
http://cvs.php.net/viewvc.cgi/pecl/htscanner/htscanner.c?r1=1.18&r2=1.19&diff_format=u
Index: pecl/htscanner/htscanner.c
diff -u pecl/htscanner/htscanner.c:1.18 pecl/htscanner/htscanner.c:1.19
--- pecl/htscanner/htscanner.c:1.18 Tue Feb 27 18:09:36 2007
+++ pecl/htscanner/htscanner.c Tue Mar 20 20:57:38 2007
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: htscanner.c,v 1.18 2007/02/27 18:09:36 pajoye Exp $ */
+/* $Id: htscanner.c,v 1.19 2007/03/20 20:57:38 pajoye Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -180,7 +180,24 @@
static void parse_config_file(char *file, HashTable *ini_entries TSRMLS_DC) {
php_stream *stream;
- stream = php_stream_open_wrapper(file, "r", ENFORCE_SAFE_MODE, NULL);
+ /* see main/safemode.c:70
+ * for whatever reasons, it is not possible to call this function
+ * without getting an error if the file does not exist, not
+ * when safemode is On.
+ * if one knows why, please let me know.
+ * pierre@xxxxxxx
+ */
+// if (0 && PG(safe_mode)) {
+ if (PG(safe_mode)) {
+
+ struct stat sb;
+ if (VCWD_STAT(file, &sb) != 0) {
+ return;
+ }
+ }
+
+ stream = php_stream_open_wrapper(file, "rb", ENFORCE_SAFE_MODE, NULL);
+
if (stream != NULL) {
char buf[FILE_BUFFER];
char *pos;
@@ -458,7 +475,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.18
2007/02/27 18:09:36 pajoye Exp $");
+ php_info_print_table_row(2, "Extension Version","$Id: htscanner.c,v 1.19
2007/03/20 20:57:38 pajoye Exp $");
php_info_print_table_row(2, "htaccess version", "@PACKAGE_VERSION@");
php_info_print_table_end();
|
|