Modify ↓
Ticket #259 (closed defect: fixed)
Unneeded warning in Untar task
| Reported by: | mazzarelli@… | Owned by: | hans |
|---|---|---|---|
| Priority: | low | Milestone: | 2.4.0RC1 |
| Component: | phing-tasks-ext | Version: | devel |
| Keywords: | Untar | Cc: |
Description
When using the Untar task, a file ending in .tgz emits a warning, yet is successfully un-tarred. Same for .GZ or .BZ2
A file ending in .tgz uses "null" for the compression algorithm, and the Pear utility Archive_Tar peeks into the file when give "null" to infer the compression to use.
This warning seems to be an artifact of testing.
The patch also includes some whitespace cleanup.
Attachments
Change History
Changed 4 years ago by mazzarelli@…
-
attachment
UntarTask.php.patch
added
Note: See
TracTickets for help on using
tickets.

Patch for Untar task