mirror of
https://github.com/php/php-src.git
synced 2024-09-23 10:57:26 +00:00
correct last commit (comparison of "nu" in wrong order)
This commit is contained in:
parent
89c0fbe46e
commit
54cfa7437c
@ -30,7 +30,7 @@ static int phar_zip_process_extra(php_stream *fp, phar_entry_info *entry, php_ui
|
|||||||
return FAILURE;
|
return FAILURE;
|
||||||
}
|
}
|
||||||
/* clean up header for big-endian systems */
|
/* 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 */
|
/* skip to next header */
|
||||||
php_stream_seek(fp, h.header.size, SEEK_CUR);
|
php_stream_seek(fp, h.header.size, SEEK_CUR);
|
||||||
len -= h.header.size + 4;
|
len -= h.header.size + 4;
|
||||||
|
Loading…
Reference in New Issue
Block a user