|
@@ 1941-1947 (lines=7) @@
|
| 1938 |
|
} |
| 1939 |
|
|
| 1940 |
|
// ----- Open the tar file |
| 1941 |
|
if ('tar' === $p_tar_mode) { |
| 1942 |
|
TrFctMessage(__FILE__, __LINE__, 3, 'Open file in binary read mode'); |
| 1943 |
|
$v_tar = fopen($p_tarname, 'rb'); |
| 1944 |
|
} else { |
| 1945 |
|
TrFctMessage(__FILE__, __LINE__, 3, 'Open file in gzip binary read mode'); |
| 1946 |
|
$v_tar = @gzopen($p_tarname, 'rb'); |
| 1947 |
|
} |
| 1948 |
|
|
| 1949 |
|
// ----- Check that the archive is open |
| 1950 |
|
if (0 == $v_tar) { |
|
@@ 2328-2334 (lines=7) @@
|
| 2325 |
|
$p_remove_path_size = strlen($p_remove_path); |
| 2326 |
|
|
| 2327 |
|
// ----- Open the tar file |
| 2328 |
|
if ('tar' === $p_tar_mode) { |
| 2329 |
|
TrFctMessage(__FILE__, __LINE__, 3, 'Open file in binary read mode'); |
| 2330 |
|
$v_tar = @fopen($p_tarname, 'rb'); |
| 2331 |
|
} else { |
| 2332 |
|
TrFctMessage(__FILE__, __LINE__, 3, 'Open file in gzip binary read mode'); |
| 2333 |
|
$v_tar = @gzopen($p_tarname, 'rb'); |
| 2334 |
|
} |
| 2335 |
|
|
| 2336 |
|
// ----- Check that the archive is open |
| 2337 |
|
if (0 == $v_tar) { |