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>
1 file changed
tree: a66f85a70edb9b02a8b9df530bb2632082673965
  1. kernel/
  2. kernel-2.4/
  3. squashfs-tools/
  4. README