commit | 4483d965675a0d6bf424b36e8da85c3300de2413 | [log] [tgz] |
---|---|---|
author | Phillip Lougher <phillip@squashfs.org.uk> | Thu Feb 21 22:13:09 2013 +0000 |
committer | Mohamad Ayyash <mkayyash@google.com> | Mon Feb 23 12:35:43 2015 -0800 |
tree | a66f85a70edb9b02a8b9df530bb2632082673965 | |
parent | e9df455d4bef7b29ed7fb1c4c676a3e80a81d438 [diff] |
error: add MEM_ERROR() macro Add a new MEM_ERROR() macro that prints out of space with the function it occurred in, and then aborts mksquashfs, restoring the original filesystem if appending. This macro allows "Out of memory" handling to be regularised accross Mksquashfs, rather than at present where every out of memory error has a different and hand crafted error message. Signed-off-by: Phillip Lougher <phillip@squashfs.org.uk>