Re: [PATCH] perf tools: Fix error handling of lzma decompression

2016-08-24 Thread Arnaldo Carvalho de Melo
Em Sun, Aug 21, 2016 at 03:57:33PM +0800, Shawn Lin escreveu: > lzma_decompress_to_file never actually close the file > pointer, let's fix it. > > Signed-off-by: Shawn Lin Thanks, I changed the logic a bit to shorten the patch, this is how it ended up: commit

Re: [PATCH] perf tools: Fix error handling of lzma decompression

2016-08-24 Thread Arnaldo Carvalho de Melo
Em Sun, Aug 21, 2016 at 03:57:33PM +0800, Shawn Lin escreveu: > lzma_decompress_to_file never actually close the file > pointer, let's fix it. > > Signed-off-by: Shawn Lin Thanks, I changed the logic a bit to shorten the patch, this is how it ended up: commit

[PATCH] perf tools: Fix error handling of lzma decompression

2016-08-21 Thread Shawn Lin
lzma_decompress_to_file never actually close the file pointer, let's fix it. Signed-off-by: Shawn Lin --- tools/perf/util/lzma.c | 19 --- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/tools/perf/util/lzma.c b/tools/perf/util/lzma.c

[PATCH] perf tools: Fix error handling of lzma decompression

2016-08-21 Thread Shawn Lin
lzma_decompress_to_file never actually close the file pointer, let's fix it. Signed-off-by: Shawn Lin --- tools/perf/util/lzma.c | 19 --- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/tools/perf/util/lzma.c b/tools/perf/util/lzma.c index 95a1acb..a95d473