[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#55673] [PATCH v2] cache: Catch valid integer for 'last-expiry-clean
From: |
Maxime Devos |
Subject: |
[bug#55673] [PATCH v2] cache: Catch valid integer for 'last-expiry-cleanup'. |
Date: |
Fri, 27 May 2022 19:29:51 +0200 |
User-agent: |
Evolution 3.38.3-1 |
zimoun schreef op vr 27-05-2022 om 17:46 [+0200]:
> + (catch #t ; Handle value out of range (e.g., 1234567890 ->
> 12E4567890)
> + (lambda ()
> + ;; Handle empty or corrupted 'expiry-file' when 'write' below is
> + ;; interrupted before being complete (e.g., SIGINT with C-c) or
> when
> + ;; the filesystem crashes.
> + (or (string->number value) 0))
Why are 'stack-error' and 'out-of-memory' being caught?
I recommend using one of the regexes from string->generations
in (guix ui) instead to avoid catching too much.
Greetings,
Maxime.
signature.asc
Description: This is a digitally signed message part
- [bug#55673] [PATCH] cache: Catch valid integer for 'last-expiry-cleanup'., (continued)
- [bug#55673] [PATCH] cache: Catch valid integer for 'last-expiry-cleanup'., Maxime Devos, 2022/05/27
- [bug#55673] [PATCH] cache: Catch valid integer for 'last-expiry-cleanup'., zimoun, 2022/05/27
- [bug#55673] [PATCH] cache: Catch valid integer for 'last-expiry-cleanup'., zimoun, 2022/05/27
- [bug#55673] [PATCH] cache: Catch valid integer for 'last-expiry-cleanup'., Maxime Devos, 2022/05/27
- [bug#55673] [PATCH] cache: Catch valid integer for 'last-expiry-cleanup'., zimoun, 2022/05/27
- [bug#55673] [PATCH] cache: Catch valid integer for 'last-expiry-cleanup'., Maxime Devos, 2022/05/27
- [bug#55673] [PATCH] cache: Catch valid integer for 'last-expiry-cleanup'., Maxime Devos, 2022/05/27
- [bug#55673] [PATCH] cache: Catch valid integer for 'last-expiry-cleanup'., zimoun, 2022/05/27
- [bug#55673] [PATCH] cache: Catch valid integer for 'last-expiry-cleanup'., Maxime Devos, 2022/05/27
[bug#55673] [PATCH v2] cache: Catch valid integer for 'last-expiry-cleanup'., zimoun, 2022/05/27
- [bug#55673] [PATCH v2] cache: Catch valid integer for 'last-expiry-cleanup'.,
Maxime Devos <=
[bug#55673] [PATCH v3] cache: Catch invalid 'last-expiry-cleanup'., zimoun, 2022/05/30