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/bin/patch/diff | |
parent | ce76af64fe93cfe5103cf9b5f44693d8aebef24c (diff) | |
download | plan9front-3e124e1f13b945a020d973052069b9d3b673d814.tar.xz |
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/bin/patch/diff')
0 files changed, 0 insertions, 0 deletions