Re: [PATCH] untar: Make behavior similar to GNU or BSD tar

2021-12-07 Thread Christian MAUDERER
Hello Chris, Am 07.12.21 um 05:10 schrieb Chris Johns: On 3/12/21 11:50 pm, Christian Mauderer wrote: RTEMS untar implementation had problems with overwriting or integrating archives into existing directory structures. This patch adapts the behavior to mimic that of a GNU tar or BSD tar and

Re: [PATCH] untar: Make behavior similar to GNU or BSD tar

2021-12-06 Thread Chris Johns
On 3/12/21 11:50 pm, Christian Mauderer wrote: > RTEMS untar implementation had problems with overwriting or integrating > archives into existing directory structures. This patch adapts the > behavior to mimic that of a GNU tar or BSD tar and extends the tar01 > test to check for the behavior.

Re: [PATCH] untar: Make behavior similar to GNU or BSD tar

2021-12-06 Thread Joel Sherrill
On Mon, Dec 6, 2021 at 9:11 AM Christian MAUDERER wrote: > > Hello Joel, > > thanks for the review. I'll apply it on master in the next few days. > > The behavior that our untar can't overwrite directories is in 5 too. The > behavior on 5 changed last with the patches from ticket #3823 in >

Re: [PATCH] untar: Make behavior similar to GNU or BSD tar

2021-12-06 Thread Christian MAUDERER
Hello Joel, thanks for the review. I'll apply it on master in the next few days. The behavior that our untar can't overwrite directories is in 5 too. The behavior on 5 changed last with the patches from ticket #3823 in 2019-11. I would lean to creating a ticket for 5 and apply the patch

Re: [PATCH] untar: Make behavior similar to GNU or BSD tar

2021-12-03 Thread Joel Sherrill
I don't see anything that would stop this from being committed. This does make me realize that I think all of the untar capabilities are undocumented. --joel On Fri, Dec 3, 2021 at 6:51 AM Christian Mauderer wrote: > > RTEMS untar implementation had problems with overwriting or integrating >

[PATCH] untar: Make behavior similar to GNU or BSD tar

2021-12-03 Thread Christian Mauderer
RTEMS untar implementation had problems with overwriting or integrating archives into existing directory structures. This patch adapts the behavior to mimic that of a GNU tar or BSD tar and extends the tar01 test to check for the behavior. That is: * If a directory structure exists, the files