PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » File Formats » Archive_Tar » Bug #2475

BUGFIX of "Cannot add directories into the archive..."

Details

Submitted2004-10-07 13:55 UTC
Fromstastie at szm dot sk
Assignedvblavet
StatusClosed
PackageArchive_Tar
PHP Version4.3.8
OSLinux
Roadmaps(Not assigned)

Comments

[2004-10-07 13:55 UTC] stastie at szm dot sk

Description:
------------
Explanation: Checking directories '.' and '..' should be done in the loop...
Here is the patch:
831,832c831,832
< $p_hitem = readdir($p_hdir); // '.' directory
< $p_hitem = readdir($p_hdir); // '..' directory
---
> //$p_hitem = readdir($p_hdir); // '.' directory
> //$p_hitem = readdir($p_hdir); // '..' directory
834c834
<
---
> if ($p_hitem=='.' || $p_hitem=='..') continue;

[2006-07-24 06:53 UTC] sujitmanke at hotmail dot com

1. Web Development - Customized web-based / desktop / enterprise solutions using PHP, Linux, Apache, Java, .NET, MySQL, Oracle, MSSQL, Windows, J2EE.

2. Web Designing - Almost all types of designing works using Photoshop, Corel and Flash.

3. Web Services - Web hosting, Domain registration, Search Engine optimization, Payment gateways and many more.....

4. Networks - Linux / Windows server setup, LAN/WAN setup, Internet gateway setup etc..

5. Internet Marketing & Promotion - Consulting and services of marketing and promotion over the internet.

6. BPO - Business process outsourcing services.

7. Internet Research - Research, Data extraction, Analysis and Reports over the internet.

8. Website and Portal Management - Consulting and managing services for websites / portals.

9. Consultancy - IT related consultancy services.

10. AskOptions - Devices and Equipments related to IT.