summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2011-11-07 21:42:45 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2011-11-07 21:42:45 +0000
commit83fec7c26faeed8293b7d5e99fa0f3c9fd3e61c8 (patch)
treee9e0e9cce844e79dbb985dd9669521bf7283be84
parent2011-08-21 Joel Sherrill <joel.sherrilL@OARcorp.com> (diff)
downloadrtems-83fec7c26faeed8293b7d5e99fa0f3c9fd3e61c8.tar.bz2
2011-11-07 Ralf Corsepius <ralf.corsepius@rtems.org>
PR 1952/cpukit * libmisc/untar/untar.c: Add return code for failure when unable to write file.
-rw-r--r--cpukit/ChangeLog6
-rw-r--r--cpukit/libmisc/untar/untar.c1
2 files changed, 7 insertions, 0 deletions
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 <ralf.corsepius@rtems.org>
+
+ PR 1952/cpukit
+ * libmisc/untar/untar.c: Add return code for failure when unable to
+ write file.
+
2011-08-21 Joel Sherrill <joel.sherrilL@OARcorp.com>
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;