1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-08 06:00:36 +02:00
Files
guix/guix
Ludovic Courtès 8ed597f4a2 store: 'with-store' doesn't close the store upon abort.
Fixes <https://bugs.gnu.org/40428>.
Reported by Marius Bakke <mbakke@fastmail.com> and 白い熊.

Regression introduced with the first uses of 'with-build-handler' in
commit 62195b9a8f and subsequent.

* guix/store.scm (call-with-store): Use 'catch #t' instead of
'dynamic-wind'.  This ensures STORE remains open when a non-local exit
other than an exception occurs, such as an abort to the build handler
prompt.
* tests/store.scm ("with-build-handler + with-store"): New test.
2020-04-04 18:52:35 +02:00
..
2019-12-12 17:56:58 +01:00
2017-07-21 17:03:24 +02:00
2019-12-15 00:34:05 +01:00
2020-03-31 14:55:42 +02:00
2017-01-28 18:55:20 +01:00
2019-05-06 23:21:33 +02:00
2017-11-08 22:31:58 +01:00
2019-09-04 13:02:27 +02:00
2020-03-24 11:42:41 +01:00
2018-06-01 15:21:28 +02:00
2019-03-13 23:12:43 +01:00
2019-06-05 23:10:37 +02:00
2018-09-04 17:25:11 +02:00
2020-01-23 23:34:10 +01:00
2020-04-02 11:48:24 +02:00
2020-01-06 16:31:54 +01:00