FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=16860&edit=1

ID: 16860
Comment by: hairmare
Reported By: hairmare at purplehaze dot ch
Summary: Wrong archive file dates
Status: Open
Type: Bug
Package: Archive_Tar
Operating System: Unix
Package Version: 1.3.3
PHP Version: 5.3.0
New Comment:

I'm just posting to confirm void9's findings. His proposed change fixes
the problem.


Previous Comments:
------------------------------------------------------------------------

[2009-12-01 15:49:56] void9

Description:
------------
All compressed files have date set to jan 1 1970. Please look at line
1032 in Tar.php :

$v_mtime = sprintf("%11s", DecOct($v_info['mode']));

Is it ok? Think it should be

$v_mtime = sprintf("%11s", DecOct($v_info['mtime']));

This bug is introduced in version 1.3.3 , 1.3.2 uses stat instead of
lstat and it works ok.

------------------------------------------------------------------------

Search Discussions

  • Mrook at Dec 2, 2009 at 4:09 pm
    Edit report at http://pear.php.net/bugs/bug.php?id=16860&edit=1

    ID: 16860
    Updated by: [email protected]
    Reported By: void at op dot pl
    Summary: Wrong archive file dates
    -Status: Open
    +Status: Feedback
    Type: Bug
    Package: Archive_Tar
    Operating System: Unix
    Package Version: 1.3.3
    PHP Version: 5.3.0
    Roadmap Versions:
    New Comment:

    -Status: Open
    +Status: Feedback
    Thank you for taking the time to report a problem with the package.
    This problem may have been already fixed by a previous change that
    is in the CVS of the package. Please log into CVS with:

    cvs -d :pserver:[email protected]:/repository login

    and check out the CVS repository of this package and upgrade

    cvs -d :pserver:[email protected]:/repository co pear/Archive_Tar
    pear upgrade pear/Archive_Tar/package2.xml

    or

    pear upgrade pear/Archive_Tar/package.xml

    If you are able to reproduce the bug with the latest CVS,
    please change the status back to "Open".
    Again, thank you for your continued support of PEAR.

    Is this a duplicate of http://pear.php.net/bugs/bug.php?id=16202 ?


    Previous Comments:
    ------------------------------------------------------------------------

    [2009-12-02 16:00:57] hairmare

    I'm just posting to confirm void9's findings. His proposed change fixes
    the problem.

    ------------------------------------------------------------------------

    [2009-12-01 15:49:56] void9

    Description:
    ------------
    All compressed files have date set to jan 1 1970. Please look at line
    1032 in Tar.php :

    $v_mtime = sprintf("%11s", DecOct($v_info['mode']));

    Is it ok? Think it should be

    $v_mtime = sprintf("%11s", DecOct($v_info['mtime']));

    This bug is introduced in version 1.3.3 , 1.3.2 uses stat instead of
    lstat and it works ok.

    ------------------------------------------------------------------------
  • Hairmare at Dec 2, 2009 at 4:23 pm
    Edit report at http://pear.php.net/bugs/bug.php?id=16860&edit=1

    ID: 16860
    Comment by: [email protected]
    Reported By: void at op dot pl
    Summary: Wrong archive file dates
    Status: Feedback
    Type: Bug
    Package: Archive_Tar
    Operating System: Unix
    Package Version: 1.3.3
    PHP Version: 5.3.0
    Roadmap Versions:
    New Comment:

    Yes this is a dup of http://pear.php.net/bugs/bug.php?id=16202 .

    A quick look at the source tells me the problem hasn't been solved
    yet.

    I'll add a patch to the original ticket as soon as i finish it.


    Previous Comments:
    ------------------------------------------------------------------------

    [2009-12-02 17:09:05] mrook

    -Status: Open
    +Status: Feedback
    Thank you for taking the time to report a problem with the package.
    This problem may have been already fixed by a previous change that
    is in the CVS of the package. Please log into CVS with:

    cvs -d :pserver:[email protected]:/repository login

    and check out the CVS repository of this package and upgrade

    cvs -d :pserver:[email protected]:/repository co pear/Archive_Tar
    pear upgrade pear/Archive_Tar/package2.xml

    or

    pear upgrade pear/Archive_Tar/package.xml

    If you are able to reproduce the bug with the latest CVS,
    please change the status back to "Open".
    Again, thank you for your continued support of PEAR.

    Is this a duplicate of http://pear.php.net/bugs/bug.php?id=16202 ?

    ------------------------------------------------------------------------

    [2009-12-02 16:00:57] hairmare

    I'm just posting to confirm void9's findings. His proposed change fixes
    the problem.

    ------------------------------------------------------------------------

    [2009-12-01 15:49:56] void9

    Description:
    ------------
    All compressed files have date set to jan 1 1970. Please look at line
    1032 in Tar.php :

    $v_mtime = sprintf("%11s", DecOct($v_info['mode']));

    Is it ok? Think it should be

    $v_mtime = sprintf("%11s", DecOct($v_info['mtime']));

    This bug is introduced in version 1.3.3 , 1.3.2 uses stat instead of
    lstat and it works ok.

    ------------------------------------------------------------------------
  • Mrook at Dec 2, 2009 at 4:34 pm
    Edit report at http://pear.php.net/bugs/bug.php?id=16860&edit=1

    ID: 16860
    Updated by: [email protected]
    Reported By: void at op dot pl
    Summary: Wrong archive file dates
    -Status: Feedback
    +Status: Bogus
    Type: Bug
    Package: Archive_Tar
    Operating System: Unix
    Package Version: 1.3.3
    PHP Version: 5.3.0
    Roadmap Versions:
    New Comment:

    -Status: Feedback
    +Status: Bogus
    Please do not submit the same bug more than once. An existing
    bug report already describes this very problem. Even if you feel
    that your issue is somewhat different, the resolution is likely
    to be the same. Because of this, we hope you add your comments
    to the existing bug instead.

    Thank you for your interest in PEAR.

    Duplicate of #16202


    Previous Comments:
    ------------------------------------------------------------------------

    [2009-12-02 17:23:40] hairmare

    Yes this is a dup of http://pear.php.net/bugs/bug.php?id=16202 .

    A quick look at the source tells me the problem hasn't been solved
    yet.

    I'll add a patch to the original ticket as soon as i finish it.

    ------------------------------------------------------------------------

    [2009-12-02 17:09:05] mrook

    -Status: Open
    +Status: Feedback
    Thank you for taking the time to report a problem with the package.
    This problem may have been already fixed by a previous change that
    is in the CVS of the package. Please log into CVS with:

    cvs -d :pserver:[email protected]:/repository login

    and check out the CVS repository of this package and upgrade

    cvs -d :pserver:[email protected]:/repository co pear/Archive_Tar
    pear upgrade pear/Archive_Tar/package2.xml

    or

    pear upgrade pear/Archive_Tar/package.xml

    If you are able to reproduce the bug with the latest CVS,
    please change the status back to "Open".
    Again, thank you for your continued support of PEAR.

    Is this a duplicate of http://pear.php.net/bugs/bug.php?id=16202 ?

    ------------------------------------------------------------------------

    [2009-12-02 16:00:57] hairmare

    I'm just posting to confirm void9's findings. His proposed change fixes
    the problem.

    ------------------------------------------------------------------------

    [2009-12-01 15:49:56] void9

    Description:
    ------------
    All compressed files have date set to jan 1 1970. Please look at line
    1032 in Tar.php :

    $v_mtime = sprintf("%11s", DecOct($v_info['mode']));

    Is it ok? Think it should be

    $v_mtime = sprintf("%11s", DecOct($v_info['mtime']));

    This bug is introduced in version 1.3.3 , 1.3.2 uses stat instead of
    lstat and it works ok.

    ------------------------------------------------------------------------

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedDec 2, '09 at 3:56p
activeDec 2, '09 at 4:34p
posts4
users3
websitepear.php.net

3 users in discussion

Mrook: 2 posts Hairmare: 1 post Hairmare: 1 post

People

Translate

site design / logo © 2023 Grokbase