From 83fec7c26faeed8293b7d5e99fa0f3c9fd3e61c8 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 7 Nov 2011 21:42:45 +0000 Subject: 2011-11-07 Ralf Corsepius PR 1952/cpukit * libmisc/untar/untar.c: Add return code for failure when unable to write file. --- cpukit/ChangeLog | 6 ++++++ cpukit/libmisc/untar/untar.c | 1 + 2 files changed, 7 insertions(+) diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 0a8e11bc5a..181e4803bc 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,9 @@ +2011-11-07 Ralf Corsepius + + PR 1952/cpukit + * libmisc/untar/untar.c: Add return code for failure when unable to + write file. + 2011-08-21 Joel Sherrill PR 1890/cpukit diff --git a/cpukit/libmisc/untar/untar.c b/cpukit/libmisc/untar/untar.c index 7f2c55d1fd..2d1c8d4f52 100644 --- a/cpukit/libmisc/untar/untar.c +++ b/cpukit/libmisc/untar/untar.c @@ -204,6 +204,7 @@ Untar_FromMemory( if (n != len) { printk("untar: Error during write\n"); + retval = UNTAR_FAIL; break; } ptr += 512; -- cgit v1.2.3