summaryrefslogtreecommitdiffstats
path: root/acinclude.m4
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2008-11-01 04:43:55 +0100
committerDan McGee <dan@archlinux.org>2010-12-13 04:42:41 +0100
commit209d0643e5fd38f8add70cfb3651012993d861f1 (patch)
tree860f1b0d5eb37899c6cfa1b87f6e8e2aec320131 /acinclude.m4
parentb276a76dc9e02e1cdc227661ae4ffe97a24d9f4d (diff)
downloadpacman-209d0643e5fd38f8add70cfb3651012993d861f1.tar.gz
pacman-209d0643e5fd38f8add70cfb3651012993d861f1.tar.xz
Attempt to stop installation when we encounter problems
This should hopefully address some of the concerns raised in FS#11639 with regards to continuing after filling the disk up. Add some more checks and passing of error conditions between our functions. When a libarchive warning is encountered, check if it is due to lack of disk space and if so upgrade it to an error condition. A review of other libarchive warnings suggests that these are less critical and can remain as informative warning messages at this stage. Note the presence of errors after extraction of an entire package is complete. If so, we abort the transaction to be on the safe side and keep damage to a minimum. Signed-off-by: Dan McGee <dan@archlinux.org> [Allan: make ENOSPC warning into an error] Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'acinclude.m4')
0 files changed, 0 insertions, 0 deletions