summaryrefslogtreecommitdiff
path: root/rc/bin/patch/diff
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2015-05-31 12:58:13 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2015-05-31 12:58:13 +0200
commit3e124e1f13b945a020d973052069b9d3b673d814 (patch)
tree53c1536717c6c76ff0854f634b440a4c97446c5d /rc/bin/patch/diff
parentce76af64fe93cfe5103cf9b5f44693d8aebef24c (diff)
downloadplan9front-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