diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-05-31 12:58:13 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-05-31 12:58:13 +0200 |
commit | 3e124e1f13b945a020d973052069b9d3b673d814 (patch) | |
tree | 53c1536717c6c76ff0854f634b440a4c97446c5d /rc | |
parent | ce76af64fe93cfe5103cf9b5f44693d8aebef24c (diff) |
libdisk: error handling, sanity checks
- make sure disk file is an actual file and not a directory, log or empty file
- sanity check: file has to be at least one sector to be a disk
- simplify error handling using freedisk()
Diffstat (limited to 'rc')
0 files changed, 0 insertions, 0 deletions