Modify

Ticket #259 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

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

UntarTask.php.patch Download (2.7 KB) - added by mazzarelli@… 4 years ago.
Patch for Untar task

Change History

Changed 4 years ago by mazzarelli@…

Patch for Untar task

comment:1 Changed 4 years ago 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!

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.