platform_system_core/libsparse
Colin Cross 0e3f47e482 append2simg: write to temporary file
append2simg causes libsparse to write mmapped data from a file
back to that same file.  On btrfs, this sometimes causes a page
of zeroes to be written instead of the file data.  Work around
the issue by writing the output to a temporary file and then
renaming it over the original file.

Change-Id: Ia194b6ba0ddb8548747b63292b523756f544706a
2014-04-25 15:19:18 -07:00
..
include/sparse libsparse: allow including from C++ 2014-04-18 14:22:22 -07:00
Android.mk append2simg: write to temporary file 2014-04-25 15:19:18 -07:00
append2simg.c append2simg: write to temporary file 2014-04-25 15:19:18 -07:00
backed_block.c Fix a bunch of small system/core bugs. 2013-10-29 14:12:46 -07:00
backed_block.h libsparse: add function to resparse a file and a utility to use it 2012-07-09 22:09:37 -07:00
defs.h libsparse: deal with build warning messages 2014-02-28 08:08:01 -08:00
img2simg.c libsparse: add sparse_file read and convert tools to use it 2012-07-09 22:09:37 -07:00
output_file.c libsparse: deal with build warning messages 2014-02-28 08:08:01 -08:00
output_file.h libsparse: rename symbols that conflict with libext4_utils 2012-07-09 22:09:37 -07:00
simg2img.c libsparse: add function to resparse a file and a utility to use it 2012-07-09 22:09:37 -07:00
simg2simg.c libsparse: add function to resparse a file and a utility to use it 2012-07-09 22:09:37 -07:00
simg_dump.py system/core: move libsparse into system/core 2012-07-09 22:09:36 -07:00
sparse.c libsparse: deal with build warning messages 2014-02-28 08:08:01 -08:00
sparse_crc32.c system/core: move libsparse into system/core 2012-07-09 22:09:36 -07:00
sparse_crc32.h libsparse: cleanups 2012-07-09 22:09:37 -07:00
sparse_defs.h libsparse: add function to resparse a file and a utility to use it 2012-07-09 22:09:37 -07:00
sparse_err.c libsparse: add error reporting functions 2012-07-09 22:09:37 -07:00
sparse_file.h libsparse: add error reporting functions 2012-07-09 22:09:37 -07:00
sparse_format.h system/core: move libsparse into system/core 2012-07-09 22:09:36 -07:00
sparse_read.c libsparse: deal with build warning messages 2014-02-28 08:08:01 -08:00