diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2011-11-07 21:42:45 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2011-11-07 21:42:45 +0000 |
commit | 83fec7c26faeed8293b7d5e99fa0f3c9fd3e61c8 (patch) | |
tree | e9e0e9cce844e79dbb985dd9669521bf7283be84 | |
parent | ce05fa60132a32d4b1bb8b2af71a03b323c7cd65 (diff) |
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/ChangeLog | 6 | ||||
-rw-r--r-- | cpukit/libmisc/untar/untar.c | 1 |
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; |