platform_bootable_recovery/minzip
Doug Zongker 683c462803 align data passed to write() on 32k boundaries
In donut, OTA installation often encounters the write() system call
doing short writes -- which is legal but unexpected -- or failing with
ENOSPC when plenty of space is available.  Passing aligned memory
buffers to write() appears to prevent (or at least reduce the
frequency) of these problems.  b/1833052 has been filed to look at the
underlying problem, but this change aligns buffers we use with write()
so we can OTA for now (or see if this problem still occurs).
2009-05-06 08:40:28 -07:00
..
Android.mk auto import from //depot/cupcake/@135843 2009-03-03 19:28:42 -08:00
Bits.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:42 -08:00
DirUtil.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:42 -08:00
DirUtil.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:42 -08:00
Hash.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:42 -08:00
Hash.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:42 -08:00
inline_magic.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:42 -08:00
Inlines.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:42 -08:00
Log.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:42 -08:00
SysUtil.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:42 -08:00
SysUtil.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:42 -08:00
Zip.c align data passed to write() on 32k boundaries 2009-05-06 08:40:28 -07:00
Zip.h align data passed to write() on 32k boundaries 2009-05-06 08:40:28 -07:00