Re: [PATCH] ar: Pull should_truncate_fname() into file scope

2021-02-05 Thread Mark Wielaard
Hi Timm, On Wed, 2021-02-03 at 15:44 +0100, Timm Bäder via Elfutils-devel wrote: > Get rid of a nested function this way. I must say I still don't fully understand this code. But at least I can see that the reworked code does the same thing as the original. So I added a ChangeLog entry and pushed

[PATCH] ar: Pull should_truncate_fname() into file scope

2021-02-03 Thread Timm Bäder via Elfutils-devel
From: Timm Bäder Get rid of a nested function this way. Signed-off-by: Timm Bäder --- src/ar.c | 34 +- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/src/ar.c b/src/ar.c index 2a17d0d3..66b2c4fd 100644 --- a/src/ar.c +++ b/src/ar.c @@ -436,6 +4