#23931 [NEW]: Archive_Tar long filenames not recognized by Winzip or PicoZip
| From: | greg at chiaraquartet dot net | Date: | Sat, 31 May 2003 23:10:34 +0000 |
| Subject: | #23931 [NEW]: Archive_Tar long filenames not recognized by Winzip or PicoZip | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-16863@lists.php.net to get a copy of this message | ||
From: greg at chiaraquartet dot net
Operating system: Windows XP
PHP version: 4.3.2
PHP Bug Type: PEAR related
Bug description: Archive_Tar long filenames not recognized by Winzip or PicoZip
Hi,
After applying fixes to bugs in System.php, and Packager.php relating to
other issues, and changing the separator for createModify to ";" instead
of " ", the generated .tgz can't be extracted by either Winzip or
PicoZip.
In Winzip, the files whose paths are longer than 99 characters appear to
be truncated 1 letter short, so basicindex.tpl becomes basicindex.tp
In PicoZip, the files all have 100666 added to their end so basicindex.tpl
becomes basicindex.tp100666
I can't tell you if this is a problem in both Winzip and PicoZip or a
problem in Archive_Tar, but it might be a good idea to support 2 of the
most popular extraction tools.
--
Edit bug report at http://bugs.php.net/?id=23931&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=23931&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=23931&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=23931&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=23931&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=23931&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=23931&r=support
Expected behavior: http://bugs.php.net/fix.php?id=23931&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=23931&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=23931&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=23931&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23931&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=23931&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=23931&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=23931&r=gnused