logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

cvs: pecl /zip php_zip.c: msg#00103

Subject: cvs: pecl /zip php_zip.c
bjori           Wed Oct 25 12:34:10 2006 UTC

  Modified files:              
    /pecl/zip   php_zip.c 
  Log:
  (Merge from php-src HEAD) add missing RETURN_TRUE inside the 
PHP_ZIP_SET_FILE_COMMENT macro
  
  
http://cvs.php.net/viewvc.cgi/pecl/zip/php_zip.c?r1=1.83&r2=1.84&diff_format=u
Index: pecl/zip/php_zip.c
diff -u pecl/zip/php_zip.c:1.83 pecl/zip/php_zip.c:1.84
--- pecl/zip/php_zip.c:1.83     Wed Oct 25 12:33:24 2006
+++ pecl/zip/php_zip.c  Wed Oct 25 12:34:10 2006
@@ -16,7 +16,7 @@
   +----------------------------------------------------------------------+
 */
 
-/* $Id: php_zip.c,v 1.83 2006/10/25 12:33:24 bjori Exp $ */
+/* $Id: php_zip.c,v 1.84 2006/10/25 12:34:10 bjori Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -74,7 +74,8 @@
                } \
        } else if (zip_set_file_comment(intern, index, comment, comment_len) < 
0) { \
                RETURN_FALSE; \
-       }
+       } \
+       RETURN_TRUE;
 
 /* }}} */
 
@@ -1980,7 +1981,7 @@
        php_info_print_table_start();
 
        php_info_print_table_row(2, "Zip", "enabled");
-       php_info_print_table_row(2, "Extension Version","$Id: php_zip.c,v 1.83 
2006/10/25 12:33:24 bjori Exp $");
+       php_info_print_table_row(2, "Extension Version","$Id: php_zip.c,v 1.84 
2006/10/25 12:34:10 bjori Exp $");
        php_info_print_table_row(2, "Zip version", "@PACKAGE_VERSION@");
        php_info_print_table_row(2, "Libzip version", "0.7.1");
 



<Prev in Thread] Current Thread [Next in Thread>