Ticket #259 (closed defect: fixed)

Opened 2 months ago

Last modified 3 weeks ago

Unneeded warning in Untar task

Reported by: mazzarelli@gmail.com Assigned to: hans
Priority: trivial Milestone: 2.4.0
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

UntarTask.php.patch (2.7 kB) - added by mazzarelli@gmail.com on 06/30/08 23:38:55.
Patch for Untar task

Change History

06/30/08 23:38:55 changed by mazzarelli@gmail.com

  • attachment UntarTask.php.patch added.

Patch for Untar task

07/29/08 15:56:31 changed by mrook

  • status changed from new to closed.
  • resolution set to fixed.

This bug has been fixed in the SVN tree, revision r378.

Thank you for the report, and for helping us make Phing better!


Add/Change #259 (Unneeded warning in Untar task)




Action