Hi Jim,

> The bug is that tar assumed open/creat would never return 2.  The
> patch I supplied shows that this bug in GNU tar can be fixed with
> minimal effort.

Here's a simpler test case.

    $ tar cf >(od -c) missingfile 2>&-
    0000000   t   a   r   :       m   i   s   s   i   n   g   f   i   l   e
    0000020   :       C   a   n   n   o   t       s   t   a   t   :       N
    0000040   o       s   u   c   h       f   i   l   e       o   r       d
    0000060   i   r   e   c   t   o   r   y  \n  \0  \0  \0  \0  \0  \0  \0
    0000100  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0
    *
    0024060  \0  \0  \0  \0  \0  \0  \0  \0  \0
    0024071
    $

Cheers,


Ralph.



_______________________________________________
Bug-tar mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-tar

Reply via email to