xbps-install: abort transaction if there's insufficient disk space on rootdir.

The free disk space wasn't computed correctly and xbps-install(8) wasn't
handling ENOSPC rval in xbps_transaction_prepare().
This commit is contained in:
Juan RP
2014-09-18 12:11:02 +02:00
parent 20326738ed
commit f52eea34d4
3 changed files with 7 additions and 1 deletions

3
NEWS
View File

@@ -1,5 +1,8 @@
xbps-0.40 (???):
* xbps-install(8): handle xbps_transaction_prepare() returning ENOSPC, to
abort a transaction when there's insufficient disk space on rootdir.
* xbps-query(8): -S/--show mode no longer prints ANSI escape codes if stdout
is not a tty; suggested by @chneukirchen.