Go to file
Christopher Tate 5c2882b25c Preserve file access mode when backing up / restoring files
This change adds a fixed-size metadata block at the head of each file's content
entity.  The block is versioned, and fixed-size on the theory that it might be
nice to be able to recover the content (if not the full metadata) of the files
if we're ever confronted with data backed up some hypothetical future helper
that stored expanded metadata.

The net effect is that now on restore, we assign the same access mode to the
file that it originally had when backed up.

Also, some of the code was failing to properly free transient heap-based buffers
when it encountered errors.  This has been fixed with the addition of a tiny
stack-based object whose job it is to free() its designated pointer from its
destructor.
2009-06-23 17:40:44 -07:00
awt auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
camera/libcameraservice Add more debug messages for CameraService. 2009-06-22 17:06:32 +08:00
cmds Change the keystore APIs. 2009-06-17 14:32:05 +08:00
im/java/android/im auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
include Add file mode to the file-backup saved state blobs 2009-06-23 13:07:47 -07:00
libs Preserve file access mode when backing up / restoring files 2009-06-23 17:40:44 -07:00
opengl Merge change 5024 into donut 2009-06-22 18:30:40 -07:00
vpn/java/android/net/vpn Remove SingleServerProfile. 2009-06-15 19:29:26 +08:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
NOTICE Start using CLDR for some date-and-time strings and formats. 2009-05-15 10:15:50 -07:00