summaryrefslogtreecommitdiff
path: root/src/database.c
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2015-09-03 13:15:18 +0300
committerTimo Teräs <timo.teras@iki.fi>2015-09-03 13:15:18 +0300
commit9ffa38222b9ee5e105f72f705c4449d548f3eb7b (patch)
tree93848e3b39fa84bc3cf1a2a18d7cc534f42e9cb4 /src/database.c
parent0e87d08d2d603a09169be9211602b10a158a2928 (diff)
downloadapk-tools-9ffa38222b9ee5e105f72f705c4449d548f3eb7b.tar.gz
apk-tools-9ffa38222b9ee5e105f72f705c4449d548f3eb7b.tar.bz2
apk-tools-9ffa38222b9ee5e105f72f705c4449d548f3eb7b.tar.xz
apk-tools-9ffa38222b9ee5e105f72f705c4449d548f3eb7b.zip
io: use posix_fallocate to allocate disk space
ftruncate does not allocate it, and subsequent access to mmaped file will result in SIGBUS. this fixes to properly report disk full errors.
Diffstat (limited to 'src/database.c')
0 files changed, 0 insertions, 0 deletions