summaryrefslogtreecommitdiffstats
path: root/toolbox/hd.c
Commit message (Collapse)AuthorAgeFilesLines
* toolbox: turn on -WerrorMark Salyzyn2014-05-141-1/+0
| | | | | | | | | - Deal with some signedness issues - Deal with some size issues - Deal with NULL pointer issues - Deal with some -Wunused issues Change-Id: I1479dd90d690084491bae3475f2c547833519a57
* Fix hd command so it doesn't error out on EOFScott Anderson2012-01-121-1/+3
| | | | | | | | | | | | | | | hd would error out on files that were not a multiple of its read buffer size (4096). For example: Read error on init.rc, offset 17040 len 4096, No such file or directory The fix is to stop reading on EOF instead of treating it as an error. Signed-off-by: Scott Anderson <saa@google.com> (cherry picked from commit a9fac4155f645b59d92028d56af573999051ab70) Change-Id: Ib2af725fc39e96c2f81559f61979d451604d4817
* Add missing headers for compilation on x86 targetsOlivier Bailly2010-11-171-0/+1
| | | | Change-Id: I5f4dc797b353a0f01fa00d38375ec303bf863254
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+95
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-95/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+95