@@ 3847-3855 (lines=9) @@ | ||
3844 | if ($p_entry['compression'] == 0) { |
|
3845 | ||
3846 | // ----- Opening destination file |
|
3847 | if (($v_dest_file = @fopen($p_entry['filename'], 'wb')) == 0) |
|
3848 | { |
|
3849 | ||
3850 | // ----- Change the file status |
|
3851 | $p_entry['status'] = "write_error"; |
|
3852 | ||
3853 | // ----- Return |
|
3854 | return $v_result; |
|
3855 | } |
|
3856 | ||
3857 | ||
3858 | // ----- Read the file by PCLZIP_READ_BLOCK_SIZE octets blocks |
|
@@ 3920-3926 (lines=7) @@ | ||
3917 | } |
|
3918 | ||
3919 | // ----- Opening destination file |
|
3920 | if (($v_dest_file = @fopen($p_entry['filename'], 'wb')) == 0) { |
|
3921 | ||
3922 | // ----- Change the file status |
|
3923 | $p_entry['status'] = "write_error"; |
|
3924 | ||
3925 | return $v_result; |
|
3926 | } |
|
3927 | ||
3928 | // ----- Write the uncompressed data |
|
3929 | @fwrite($v_dest_file, $v_file_content, $p_entry['size']); |
|
@@ 4022-4025 (lines=4) @@ | ||
4019 | @fclose($v_dest_file); |
|
4020 | ||
4021 | // ----- Opening destination file |
|
4022 | if (($v_dest_file = @fopen($p_entry['filename'], 'wb')) == 0) { |
|
4023 | $p_entry['status'] = "write_error"; |
|
4024 | return $v_result; |
|
4025 | } |
|
4026 | ||
4027 | // ----- Open the temporary gz file |
|
4028 | if (($v_src_file = @gzopen($v_gzip_temp_name, 'rb')) == 0) { |