cvs: pecl /phar zip.c
| From: | Greg Beaver | Date: | Fri, 28 Mar 2008 21:03:28 +0000 |
| Subject: | cvs: pecl /phar zip.c | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-10098@lists.php.net to get a copy of this message | ||
cellog Fri Mar 28 21:03:28 2008 UTC
Modified files:
/pecl/phar zip.c
Log:
correct last commit (comparison of "nu" in wrong order)
http://cvs.php.net/viewvc.cgi/pecl/phar/zip.c?r1=1.25&r2=1.26&diff_format=u
Index: pecl/phar/zip.c
diff -u pecl/phar/zip.c:1.25 pecl/phar/zip.c:1.26
--- pecl/phar/zip.c:1.25 Thu Mar 27 21:31:26 2008
+++ pecl/phar/zip.c Fri Mar 28 21:03:28 2008
@@ -30,7 +30,7 @@
return FAILURE;
}
/* clean up header for big-endian systems */
- if (h.header.tag[0] != 'n' || h.header.tag[1] != 'u') {
+ if (h.header.tag[0] != 'u' || h.header.tag[1] != 'n') {
/* skip to next header */
php_stream_seek(fp, h.header.size, SEEK_CUR);
len -= h.header.size + 4;