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±æêÔ*,8W?°!~ýë¸
Y
åBós.coîd!¨`w¡óLæÈ¹BÀí.å[aäÙs\í¹
gß×
óbnáN@@ -1229,4 +1229,6 @@
ùUNøÖ [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îÓá§¾óãæ]¢Õ~fI|øðP
j7l1ØÛPHüéÅiGH¬5´¯$ß/rªýëÐ~Ñúgìªz²¢ÎÛ¦puùäûù;â9³ä¯;[EMAIL
PROTECTED]
-Pàø3C°\ No newline at end of file
+Pàø3C°+
+;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