Re: [PATCH] elfcompress: Don't rewrite file if no section data needs to be updated.

2018-07-24 Thread Mark Wielaard
On Tue, Jul 24, 2018 at 09:57:28AM +0200, Mark Wielaard wrote: > On Mon, Jul 23, 2018 at 06:36:37PM +0200, Igor Gnatenko wrote: > > Acked-by: Igor Gnatenko > > Thanks. Pushed to master. BTW. For those at home just reading the mailinglist and wondering why they only see one part of the converstat

Re: [PATCH] elfcompress: Don't rewrite file if no section data needs to be updated.

2018-07-24 Thread Mark Wielaard
On Mon, Jul 23, 2018 at 06:36:37PM +0200, Igor Gnatenko wrote: > Acked-by: Igor Gnatenko Thanks. Pushed to master.

Re: [PATCH] elfcompress: Don't rewrite file if no section data needs to be updated.

2018-07-22 Thread Mark Wielaard
Hi Igor, On Sun, Jul 22, 2018 at 10:06:47PM +0200, Igor Gnatenko wrote: > On Sun, Jul 22, 2018 at 5:20 PM Mark Wielaard wrote: > > > However, if nothing needs > > > compression/decompression - why to rewrite file? > > > > Indeed. That is why I wrote this patch. Because it might still change > > t

Re: [PATCH] elfcompress: Don't rewrite file if no section data needs to be updated.

2018-07-22 Thread Mark Wielaard
Hi Igor, On Sun, Jul 22, 2018 at 10:26:19AM +0200, Igor Gnatenko wrote: > > With --force the file will still always be updated/rewritten even if > > no section data needs to be (de)compressed. > > I have doubts about behavior in last sentence. In --help, it's written > "Force compression of secti