cellog          Sun Aug 31 19:46:36 2008 UTC

  Modified files:              (Branch: PHP_5_3)
    /php-src/ext/phar   phar.phar util.c 
  Log:
  use '\0' instead of 0 for chars, removes intel warning
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/phar/phar.phar?r1=1.7.2.44&r2=1.7.2.45&diff_format=u
Index: php-src/ext/phar/phar.phar
diff -u php-src/ext/phar/phar.phar:1.7.2.44 php-src/ext/phar/phar.phar:1.7.2.45
--- php-src/ext/phar/phar.phar:1.7.2.44 Sun Aug 31 19:42:16 2008
+++ php-src/ext/phar/phar.phar  Sun Aug 31 19:46:35 2008
@@ -1171,8 +1171,8 @@
 new PharCommand($argc, $argv);
 
 __HALT_COMPILER(); ?>
-6-+6+ 
ž¶Â²Ø䂱÷¡ˆJÉþžs±æêÔ*,8ƒW——?°!~ý븅ˆY…åBós„.coîd!¨`w¡ŽóLæȹBÀ’í.å[ža‘äÙs\í¹
 gߜ×
 „ób„náNŸ@@ -1229,4 +1229,6 @@
 ùU™NøÖ        [EMAIL PROTECTED]"[EMAIL PROTECTED]     
¬ËaYšº[Ã⎬mòvOë<ý]¸¹)×soS…jßZæ/]ûô‚Þv¿Ç½T%æ:ýÚ)cÚv]¶Ebô«ŒÐӛ*€Çê=KÕO)ò)‘«Ë-ԍ]µLí‹·¡7µ¾Í¨.î
Ÿšzÿ.jß?8Tù®,˜:«Äa·éï¤Á»hg•
 ±µÉH¨#[T5$ÜßÞ¶LÐâ¯z4ʃ¼è)ÿLuÒñxï;ñ©Æø³;TMe,¯¿{}4b,[EMAIL PROTECTED]
íÑ藵ïtúÎþ®øÚ÷Eí»ú¡ÃÏà›Ÿ‚ÇGx‰îӟ᧾óãæ]Ž¢Õ~f–I|øðP› 
j„7l1ØÛPšH†üéÅiGH¬5´¯’$ß/rªýëІ~ѐ›úgìªz²¢ÎÛ¦pu€Šùäûù;â9³™䂯;[EMAIL 
PROTECTED]
-Pàø3C°\ No newline at end of file
+Pàø3C°+
+œ;Z\ No newline at end of file
http://cvs.php.net/viewvc.cgi/php-src/ext/phar/util.c?r1=1.55.2.32&r2=1.55.2.33&diff_format=u
Index: php-src/ext/phar/util.c
diff -u php-src/ext/phar/util.c:1.55.2.32 php-src/ext/phar/util.c:1.55.2.33
--- php-src/ext/phar/util.c:1.55.2.32   Sun Aug 31 19:42:16 2008
+++ php-src/ext/phar/util.c     Sun Aug 31 19:46:35 2008
@@ -18,7 +18,7 @@
   +----------------------------------------------------------------------+
 */
 
-/* $Id: util.c,v 1.55.2.32 2008/08/31 19:42:16 cellog Exp $ */
+/* $Id: util.c,v 1.55.2.33 2008/08/31 19:46:35 cellog Exp $ */
 
 #include "phar_internal.h"
 
@@ -683,7 +683,7 @@
                if (entry->link) {
                        efree(entry->link);
                        entry->link = NULL;
-                       entry->tar_type = (entry->is_tar ? TAR_FILE : 0);
+                       entry->tar_type = (entry->is_tar ? TAR_FILE : '\0');
                }
 
                if (for_write) {
@@ -874,7 +874,7 @@
        if (dest->link) {
                efree(dest->link);
                dest->link = NULL;
-               dest->tar_type = (dest->is_tar ? TAR_FILE : 0);
+               dest->tar_type = (dest->is_tar ? TAR_FILE : '\0');
        }
 
        dest->fp_type = PHAR_MOD;
@@ -1079,7 +1079,7 @@
        if (entry->link) {
                efree(entry->link);
                entry->link = NULL;
-               entry->tar_type = (entry->is_tar ? TAR_FILE : 0);
+               entry->tar_type = (entry->is_tar ? TAR_FILE : '\0');
        }
 
        entry->fp = php_stream_fopen_tmpfile();
@@ -1136,7 +1136,7 @@
        if (entry->link) {
                efree(entry->link);
                entry->link = NULL;
-               entry->tar_type = (entry->is_tar ? TAR_FILE : 0);
+               entry->tar_type = (entry->is_tar ? TAR_FILE : '\0');
        }
 
        entry->offset = 0;



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to